
DartDisk User Guide
12
A or P = acquisition or playback
nchan = number of channels
duration = recording duration in seconds
srate = sample rate in Hz
gain = gain in dB
filetype = file format ("s" = SIGNAL, "w" = Wave)
filename = filename or file prefix
chanform = [optional] file channel format
("s" = one file per channel, "m" = multi-channel file)
bdmodel = [optional] board model (44, 48 or 50) [default = 50]
Note: other program options are fixed in command line mode. Pre-existing data files of the
same name are overwritten. If the chanform argument is omitted, all channels are written to
one multi-channel datafile ("m" option).
Existing data files of the same name are automatically overwritten.
For example,
dartdisk a 2 60 50000 6 s myfile
will acquire two channels for 60 seconds at 50 kHz sample rate per channel with a gain of
6 dB, to SIGNAL-format sound files called myfile.1 and myfile.2, while
dartdisk p myfile
will play the sound file myfile.
If the filename or filename prefix (see "Acquisition Parameter Screen" above) includes
embedded spaces, enclose the entire name in quotation marks, for example:
dartdisk a 2 60 50000 6 s "\my project\myfile"
The optional parameter bdmodel specifies the base sample rate (in kHz) of the Dart model, if
different from the default 50 kHz. For example, the following performs the above acquisition
with a 44.1 kHz Dart model:
dartdisk a 2 60 50000 6 s myfile 44
Calling DartDisk from SIGNAL
DartDisk can be called from SIGNAL using the EXEC command. Include the full pathname
of the DartDisk executable, and enclose this in quotes if it contains embedded spaces, as in
the example below. Two applications are: 1) enclosing DartDisk in a SIGNAL program loop
to automate and time repetitive playbacks (using DOLOOP and TWAIT), and 2) using
TWAIT to run DartDisk at a particular time of day, for scheduled recording. The following
example (which should be presented on a single line) will perform the acquisition described
above:
EXEC "c:\Program Files\Engineering Design\Signal 4.0\dartdisk"
a 2 60 50000 6 s "\my project\myfile"
Commentaires sur ces manuels