Hd24tools Manual
Hd24tools Manual
Hd24tools Manual
version 0.9.0
Reference Manual
Marc Brevoort
© 20062007
Table of Contents
Introduction..........................................................................................................................................4
Thank you for reading this manual!.................................................................................................4
About the HD24tools software.............................................................................................................5
Key features of the HD24tools software..........................................................................................6
What's new in this last version?.......................................................................................................8
Before using the software.....................................................................................................................9
Choosing your hardware................................................................................................................10
System recommendations..............................................................................................................11
Precautions.....................................................................................................................................12
Installing HD24tools (Windows)...................................................................................................13
Installing HD24tools (Linux).........................................................................................................16
Installing HD24tools (Mac)...........................................................................................................16
Normal operation................................................................................................................................17
The main screen of HD24connect.................................................................................................17
Drive info.......................................................................................................................................18
Project/Song tab.............................................................................................................................20
The Recorder..................................................................................................................................24
Copying audio from HD24 drives.................................................................................................27
Copying audio to HD24 drives......................................................................................................30
Crossapplication Audio.....................................................................................................................33
Introduction ...................................................................................................................................33
Using JACK under Linux..............................................................................................................34
HD24 Drive recovery.........................................................................................................................35
Introduction ...................................................................................................................................35
A few words about drive layout.....................................................................................................35
Types of recovery..........................................................................................................................36
General recovery procedure...........................................................................................................37
Disaster scenarios...............................................................................................................................40
Power loss during a live recording................................................................................................40
What happens during a power loss?..........................................................................................40
Accidentally initialized the drive on the computer........................................................................41
What happens if the computer initializes the drive?.................................................................41
How can you recover audio from an accidentally initialized drive?.........................................42
Quickformatted the (wrong) drive on the HD24 recorder.............................................................43
What happens if the HD24 recorder quickformats a drive?....................................................43
How can you prevent yourself from accidentally quickformatting the (wrong) drive?............43
How can you recover audio from an accidentally quickformatted drive?................................43
'Invalid Format'/'Corrupt Super Block' for no obvious reason......................................................44
What happened? .......................................................................................................................44
How can you prevent this situation?.........................................................................................44
How can you recover audio from this situation?......................................................................45
'Audio block out of range' error.....................................................................................................46
What happened? .......................................................................................................................46
How can you prevent this situation?.........................................................................................46
How can you recover audio from this situation?......................................................................46
'Unexpected End of Song' error.....................................................................................................47
What happened? .......................................................................................................................47
How can you prevent this situation?.........................................................................................47
How can you recover audio from this situation?......................................................................47
Other disasters................................................................................................................................48
Using HD24hexview..........................................................................................................................49
Introduction....................................................................................................................................49
Command line options...................................................................................................................49
Inside HD24hexview.....................................................................................................................49
Navigating the disk........................................................................................................................50
Known issues......................................................................................................................................51
Introduction....................................................................................................................................51
Drive size detection (Windows only)............................................................................................51
Header file limitations...................................................................................................................51
Crashes...........................................................................................................................................51
Introduction
Thank you for reading this manual!
Thank you for downloading the HD24tools software. This software was
designed to help users of the Alesis ADAT HD24 recorder perform daily
tasks that were previously difficult or impossible to achieve.
The support of the HD24 community has been of great help in developing
this software. As we are actively seeking to continuously improve this
software, you are encouraged to contact the author about any feature
requests, bug reports or ideas for improvements you may have.
Hopefully the software and this manual help you get the most out of your
Alesis HD24 recorder.
Sincerely,
Marc Brevoort
Finally, some features are part of the core engine and shared by both
programs:
Additionally, the software supports most features that you have come to
expect from the official software: Multidisk support, free space preview,
support for both FST version 1.00 and 1.10, 99 projects, 99 songs,
exporting to various file formats, and so on.
What's new in this last version?
New features in 0.9:
● New tabbed GUI
● Write support (finally!) allowing writing audio to existing songs; either
mono, stereo or multitrack
● Exporting drive images
● Recorder tab with meters that faithfully simulate HD24 meter levels
during playback, three peak hold modes, slider seek, proper
solo/mute buttons and transport controls which should be familiar to
most HD24 users
● Added punch in/punch out locate points
● Changed default time display to 30 frames per second instead of
1/100 second for better future MIDI compatibility with HD24
● Larger transport control buttons
● Signal detection on transfer tab
Before using the software
Important: The software is provided free of charge in the hope that it will
be useful, but is provided AS IS with ABSOLUTELY NO WARRANTY,
expressed or implied. The author can not be held liable for any damage
that may arise directly or indirectly from the software. Use the software at
your own risk.
HD24connect version 0.9.0 is the first version with write support. As such,
although the software has been tested extensively, write support should be
considered EXPERIMENTAL. It is strongly recommended make backups
before using write support, either using the functionality provided by
HD24tools or using the HD24 recorder.
Please also take in account the regular disclaimers that apply for the
operational conditions for your hardware That is, do not attempt to hot
swap a drive that is not hotswappable, do not use in overly moist
conditions, switch off devices before hooking them up, and so on. Consult
your hardware manuals to inform yourself about further limitations.
http://ringbreak.dnd.utwente.nl/~mrjb/hd24tools/download.html
Choosing your hardware
Alesis' FST/Connect only supports FireWire drives. It will not work with
aforementioned USB drive bays.
System recommendations
The HD24tools software should be able to run on almost any system with
almost any specification. Most likely, it will work on yours. To find out if it
does, give it a try. Should you find that it doesn't, please contact the author
so that we can consider making HD24tools work on your system as well.
Until someone releases an official FST driver (which is not likely to happen
any time soon), your operating system will not support HD24 ADAT FST
disks. This means that your operating system will recognize that there is a
disk connected to your machine, but it will not understand its contents.
You should Cancel such dialogs and steer clear from such initialization
actions. If you initialize the disk, it will no longer be readable by the HD24
recorder. Should you be reading this after it is already too late, steps to
recover from this disaster are provided in the recovery section of this
manual.
Installing HD24tools (Windows)
Click Next to continue; you will now be taken to the license agreement.
The license agreement is pretty liberal: you are allowed to use the program
free of charge and spread unaltered copies of it. You are encouraged to
donate to the development of HD24tools if you find the program useful. To
continue, accept the terms in the license agreement and click Next.
After clicking Next, the files will be copied to the given location. Note:
HD24tools is quite light, so copying the files will take a very small amount
of time, sometimes under a second. This is normal.
The Drive Info tab contains information about the currently selected drive,
as well as a directory listing of the contents of the currently selected drive
or drive image.
If you have multiple drives connected to your system at the same time, the
Drive name dropdown box will allow you to switch between the detected
drives. The Rename button will allow you to rename the drive (inmemory
only, for now). The screen shows the number of projects on disk, along with
the file system version that the drive was formatted with.
The Free space preview shows an estimate of the available recording
time, based on a given sample rate and number of tracks that you can
select with the dropdown menus next to it. By changing the number of
tracks and sample rate, the preview will be automatically adjusted to
match.
To increase efficiency for people that work with many different drives,
HD24connect displays the drive catalog on screen. If desired, this catalog
can be exported to file or to printer with the following two menu choices:
The Project information area shows a dropdown box which allows you
to choose the project that you want to look at, along with the total number
of songs in the project.
In addition to these settings, the Song info area shows the list of locate
points that are defined for the song. The usual 25 locate points that are
defined by the HD24 recorder are listed, as well as a virtual locate point
END which is located just after the last sample of the song.
Locate points can be set inmemory, and although they are never written to
disk, it is actually useful to be able to do this, because HD24connect allows
us to transfer audio based on these locate points.
The Edit... button next to the locate point list allows us to edit the locate
point that is currently being selected. When this button is clicked, a dialog
will popup.
This dialog will permit us to change the name of the locate point, but more
importantly also the time code before which the locate point is situated.
The button above the subseconds allows us to switch back and forth
between hundreths of seconds, frames (30th seconds) and samples, which
permits us sample accurate wave exportA, should we wish to do so.
It should be noted that the locate points should be seen as being located
between the samples; a locate point that has a value of 1 (sample) is
located just before sample 1 and just after sample 0. This notion is
important when we want to export data split up in several blocks without
overlapping samples: we should not do anything such as incrementing
sample offsets to allow this.
Just like on the HD24 recorder, locate point 0 (which is called START by
default) doesn't indicate a position within the song but the offset of the
song itself. During song exports, HD24connect will ignore the actual value
of this locate point and always consider it to be just before the start of the
song. Because of this, you may change the value of this locate point, but
this will have no effect whatsoever.
A In highsamplerate modes (88.2 and 96 kHz), locate points only occur every two samples and as such true sample
accuracy can not be obtained.
The Go button (next to the Edit... button) will move the transport
cusor/tape head to the currently selected locate point. In combination with
manually setting locate points, this allows us sampleprecise jumps to
anywhere within the song. It should be noted that it is not possible to jump
beyond the end of the song. For the Go button to work, the transport must
have been previously activated by clicking the stop button on the recorder
tab.
The Recorder
Before exporting audio, you may wish to audition it. The Recorder tab
facilitates this by offering a convenient, familiar interface.
The top of the screen shows a 24track LED display, similar to the display
of the HD24 recorder itself. When auditioning a drive with HD24connect, it
will faithfully simulate what the HD24 recorder would have displayed.
There are three rows of buttons under the display. The first row of buttons
recordenables tracks. The recordenable buttons are present in the user
interface in preparation for realtime recording functionality. Clicking the
dot on the left of this button row allows you to recordenable all tracks at
once. As realtime recording functionality is not yet implemented, the
Recorder tab is locked to Rehearse mode.
The second and third button rows contain Solo and Mute buttons. This
allows you to single out tracks while auditioning the song.
Under the three button rows, we find the location slider. This slider shows
how far audio playback has progressed, and allows us to quickly jump to
any point in the song by dragging its handle with the mouse.
The bottom left shows an information display. This display shows the
current playback location and status messages. Beneath the display, there
are four buttons, and there is a dropdown on the right.
● The Peak mode button allows us to choose between No peak
hold, Temporary peak hold and Continuous peak hold.
These are similar to the peak modes of the Alesis HD24
recorder.
● The Peak clear button complements Continuous peak hold
mode by allowing us to reset the signal peaks manually.
● The All input and Auto input buttons are included for the
realtime recording feature which will be implemented in a future
release. Under Linux, The All input button permits
monitoring signal levels coming from your sound card.
● The Stereo input mapping dropdown is included for the
realtime recording feature which will be implemented in a future
release. It is currently disabled. It will give control over how
stereo audio signals are routed from your audio hardware card
to HD24 tracks.
The transport controls are arranged in a layout similar to the Little Remote
Control that came with your HD24 recorder. The Rehearse button is
locked. It is included for the realtime recording feature which will be
implemented in a future release.
The Copy to PC tab permits you to select a directory for file export, as
well as marking which tracks should be exported. By default, all tracks are
marked for export. If the song has less than 24 tracks, only the amount of
tracks allocated for the song is displayed.
The Invert button will toggle all tracks between selected and unselected.
This is useful for quickly switching between exporting all tracks and
exporting no (or just a few) tracks.
Clicking the Range... button pops up a dialog which will let us choose
which range to export.
We select this range by choosing two locate points. Regardless of its value,
locate point START is always located before the beginning of the song,
whereas virtual locate point END is always located after the end of the
song. This means that selecting START and END will always export the
entire song.
Finally, to transfer a sound, we can click the Transfer button which will
start a transfer of
The screen shows 24 track slots which correspond to the 24 tracks of the
HD24 recorder. Using the Load... button, you can select which files you
want to transfer to the HD24 recorder. At first, do not worry about the
order in which you add the files to the track slots. You will be able to
correct this later. The file dialog that pops up after clicking the Load...
button will allow you to select multiple files. Selected files will be assigned
to the first empty track slot.
When you select a file that contains more than one track (for instance
stereo files), it will not fit on a mono track. You will be asked what you
want to do. You can either assign it to several track slots (one slot for each
channel that the file contains) or assign it to a single track slot.
By default, if you split a multichannel file into multiple tracks, the channel
action selection to the right of the track slot will assign each respective
channel to a track slot, whereas by default a multichannel file will be
mixed down to mono when it is assigned only to a single track slot. If you
wish to deviate from this default behaviour, simply select the desired
behaviour in the track action dropdown next to the track slot.
To move around files, click the track slots holding the files you want to
move to another HD24 track. This will highlight the track slot. You can
then move the file by clicking the up and down buttons on the right of the
track list.
If you wish to overwrite a track with silence, you do not need to select a file.
Simply choose Erase as track action in the drop down right to the track
slot.
When a track slot is empty, that track will be preserved on the HD24 drive,
unless you selected Erase as track action.
To clear a track slot and preserve the track, you can select the track slot by
clicking it, and then clicking the Clear button.
After all is set up for the transfer, click the Transfer button.
Currently, a few limitations apply in transferring audio to HD24 drives:
For additional safety, you can save a backup of your HD24 drive to file
using the File > Save Drive Image... menu option. This will cost
some time and require a lot of free drive space: as much as the capacity of
the drive being backed up.
Crossapplication Audio
Introduction
The Linux version of HD24connect currently supports the Jack Audio
Connection Kit. This toolkit, which is functionally similar to Propellerhead
ReWire, allows routing audio streams between any applications that
support it. In other words, HD24connect is capable of streaming audio
directly from HD24 drives to any JACK enabled audio applications.
At this point in time, ReWire is not supported. There are a few reasons for
this:
● The ReWire specification is only available to commercial companies;
● Supporting ReWire would take away the choice of opening up
HD24tools to the public in the future.
Should you have any suggestions which could resolve these problems, I'd
be glad to hear about them.
Using JACK under Linux
HD24connect supports both OSS PortAudio and JACK under Linux, and
will use whatever is available at the time audio is activated. To enable
JACK output, make sure HD24connect is not playing back audio, then
start jackd in the usual way (most people use qjackctl). Clicking the
STOP transport control in HD24connect will allow HD24connect to detect
jackd and start the JACK client. After this, HD24tools will show up in the
connections list in qjackctl:
From that point on, you need to connect the track outputs of HD24connect
to the audio inputs of the application that you want to route the audio to,
for instance Ardour. You can use qjackctl to do this. If you want to stop
using JACK, close down the JACK server. When HD24connect detects that
JACK is no longer available, it will fall back to PortAudio for audio
playback.
HD24 Drive recovery
Introduction
In HD24 ADAT recorder operation, a few situations can occur that may
cause data loss which can not necessarily be blamed on the recorder
itself power loss, user error, drive failure, and so on. In most cases, the
drive itself is not physically damaged – it merely is left in a state that
doesn't allow us to get to the audio anymore without the help of some
specialized tools.
Like all file systems, the HD24 drive consists of a system area and a data
area. The data area contains data, which for the HD24 recorder means
audio; the system area (which we will also call the drive header) contains
information about how and where on disk that audio is stored. Important
parts of the system area are the superblock (which like most file systems
contains information about the drive parameters), the project list and the
song list.
Although audio data itself is not immune to trouble, little can go wrong
with its structure. Because of this, when the drive is left in an inconsistent
state, this will usually mean an inconsistency in the structure of the
system area (or drive header). If this is the case, by restoring the
consistency of the drive header, the drive will be readable again.
Types of recovery
There are different levels of performing a recovery. This manual will focus
on readonly recovery, which means we will limit ourselves to reading audio
data from disk. By performing a recovery as readonly process, we are safe
from doing any more damage.
For the most common types of recovery, the recovery procedure is similar.
Now that we have covered the basics, let us examine this general recovery
procedure.
General recovery procedure
Assuming you have properly installed HD24tools, there are only a few steps
that need to be performed to perform a readonly recovery:
● First of all, DO NOT use the drive for recording before recovery is
complete.
● If you don't know which device is the ADAT HD24 drive, do not worry.
Connect another ADAT drive to the computer and redetect the drive.
After this, the Select device... dialog will show the 'Current device'.
Write down which device it is; then connect the corrupt drive to the
HD24 and select that device for recovery.
● Normally you only need to manually select a device because
HD24connect didn't manage to autodetect the drive. Because of this,
drive selection is usually followed by a popup dialog informing that
the device doesn't look like a valid ADAT drive:
● If you are reasonably sure that in fact you have chosen the correct
drive, click Yes. HD24connect will attempt to use its own virtual
superblock to read the drive.
● HD24connect will now ask you the following question:
● Now you can browse for a header file that matches your disaster
scenario, after which you will be able to transfer audio from disk to
your computer. For likely disaster scenarios, read the following
chapters.
The longliverec header tells HD24connect to treat the entire HD24 drive
as a single song. Previous versions were limited to sample rates of 44100
and 48000 Hz, and supported 16 and 24 tracks only. The last version
supports all sample rates and all track counts that the HD24 recorder
allows. Due to limitations in song length, only the first 27:03 or 24:51
hours of audio (at 44100 / 88200 Hz or 48000 / 96000 Hz, respectively) on
disk can be accessed.
Disaster scenarios
Now that we are up to speed about drive layout and types of recovery, we
can explore some disaster scenarios along with their solutions.
This is probably the most common disaster scenario to occur in the HD24
scene. A recorder is taken on location to a live recording session, where a
power loss occurs either because the power fails, or a power chord is
pulled out, or because somebody accidentally hits the off switch.
This is a mistake that you will probably make only once, and most likely it
will be the first time you connect an ADAT HD24 drive to your computer.
The computer will not be able to read this drive, and because of this
assume that it is an invalid or unformatted drive. Because of this, it is
possible that it will ask you a question along the lines of “The drive is not
initialized, do you wish to initialize it?” or “The drive is not formatted,
format it?”. When we answer Yes, the drive will no longer be readable by
the HD24 recorder.
To help you prevent mistakes, the HD24 recorder will require you to
confirm up to three times that you really wish to quickformat a drive. Yet,
accidentally quickformatting a drive is more common than you would
expect. One of the reasons is that it is not always entirely clear which drive
is being formatted.
How can you prevent yourself from accidentally quickformatting the (wrong) drive?
Making sure that the HD24 recorder only contains one drive when
quickformatting could help. Other than that, by asking for confirmation
three times the HD24 recorder already does pretty much everything
possible to prevent this situation.
This is probably the hairiest disaster scenario of them all, because the
cause is not entirely clear. Possible causes include excessive vibration of
the unit during recording; a bad contact; or perhaps a bug in the software.
Typically, this problem occurs during longer recordings. During recording
everything seems fine, yet after the recording the HD24 recorder suddenly
claims 'Invalid Format' and the Fireport software claims 'Corrupt Super
Block', rendering the drive unreadable.
Also, when manually selecting the drive with HD24connect and NOT
loading a header file, the name last recorded project may appear damaged
(every other character in the name is messed up).
What happened?
It is still not entirely clear what causes this condition. For some reason,
during recording, from a certain point on something went wrong in writing
the data to disk. Every other byte of data written to disk was damaged from
that point on. As the song info, superblock and project info are updated,
these too are damaged. The last part of the audio of the last song that you
recorded may also be damaged. It is likely that some audio can not be
recovered because of this.
This error message will be displayed when a song uses up more audio
blocks on disk than its length would imply.
What happened?
There are two possible scenarios; one (theoretical) cause would be that a
power failure occurred right after pressing the 'stop' button on the HD24
recorder. This would however be extremely unlikely to occur. One other
possible cause may be that an audio block was incorrectly assigned to the
end of the song. This may have been done by our recovery service to allow
for enough silence to fit the song length. No data loss is caused by this
process.
This error message will be displayed when a song uses up less audio blocks
on disk than its length would imply. As the last part of the song is being
played, the HD24 recorder can no longer figure out where on disk the rest
of the audio is stored. Exporting the song with HD24connect will likely
result in loud noise from this same point on.
What happened?
Most likely your song is extremely fragmented. This may occur in rare
cases, most likely when recording a multitude of short takes as a single
song. The HD24 recorder reserves a fixed amount of space to hold
allocation information (which specifies where on disk the audio is stored).
As a result of the fragmented recording, the HD24 recorder has run out of
space to store allocation information.
Some evidence seems to point in the direction that only 20% of the
available allocation space is actually used by the HD24 recorder; this
would be a possible bug in the OS of the HD24 recorder. However, as of yet
there is no proof that this bug is for real. Also, under normal operating
conditions, even this 20% should be enough for most purposes.
In such cases, you can try to create a header file and send it to us for
diagnostic purposes. This can be done by menu option
This will allow the author to take a look at the disk structure, and possibly
create a custom header which will allow you to read your disk. A fee may
be charged for creating a custom header file. However, it may not always be
possible to perform a recovery based on a header file only. Specifically,
when it is necessary to reconstruct where and how the audio is stored on
disk, the audio itself (and thus the disk) will be needed to allow for a
recovery.
If the disk is required for recovery, or if this whole thing of header files and
readonly recoveries is too technical for you, you can send over your drive
for recovery. An advance is requested to cover sending costs and diagnosis.
Additionally, a (reasonable) fee is charged when recovery is successful. In
advance, please contact the author by email for pricing and contact info.
Using HD24hexview
Introduction
HD24hexview is a commandline ondisk hex viewer and editor which has
some features that help to make it suitable for working with HD24 drives.
However it can also be used to view and edit sectors of other drives.
If you are not familiar with hex editors and drive editors, you will probably
have little use for a program like HD24hexview, and you will be able to
safely ignore it. However if you have a technical background and you wish
to study the contents of your HD24 drive, HD24hexview is the tool of
choice.
Inside HD24hexview
While using hd24hexview, the most important command to remember is ?
because it will show you the help page of the program. You can exit the
program by typing q followed by enter. The displayed command list should
be pretty much selfexplanatory. Feel free to contact the author if you feel
the options need more explanation.
Navigating the disk
There are three ways in which you can navigate the disk. The first is by
absolute sector numbers, done with the d command. For example, when at
the – prompt you type
d14
this will display sector 14 (hexadecimal) of the disk. Keep in mind not to
use spaces. It is possible to navigate to the next and previous sector by
issuing the commands + and , respectively. It is also possible to increment
by bigger steps; for instance,
+7
will cause HD24hexview to display the sector that is 7 sectors after the
current one. Finally, it is possible to navigate to sector numbers relative to
the end of the disk by using negative numbers. For example,
d1
will display the last sector on disk. Under Windows, the first time you
navigate relative to the disk size, HD24hexview may need some time to
figure out how big the disk really is.
Known issues
Introduction
Although HD24tools is in a usable state, there are a few small issues and
limitations. Hopefully these will be overcome in a future release.
Crashes
The HD24tools suite is designed only to read ADAT FST disks. When
confronted with other drive formats than it recognizes, HD24tools may
crash.