EasyManua.ls Logo

Townshend Computer Tools DAT-Link - 5.6 Repeating a Passage; 5.7 Sampling Rates

Default Icon
208 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54 Playback Tutorial
The playback time, in seconds, can be set using the
-t
option. For example, to
playback the rst 5 seconds of a le use:
naplay -t 5 file
Note that the
-t
option can not be used with the
-r
option. If neither option is
given, playback will continue until the end of the le.
Whether or not a duration is given on the command line, the
naplay
program can
be interrupted at any time by hitting the interrupt character (usually control-C).
5.6 Rep eating a Passage
The entire le or the passage selected using the ab ove options can b e rep eated any
numb er of times by using the
-R
option. The numb er of repetitions is given as the
argumenttothe
-R
option:
naplay -t 10 -R 3 file
results in 30 seconds of playback consisting of the rst 10 seconds of the le repeated
3 times. Note that there will be no space b etween the repetitions.
5.7 Sampling Rates
There are two sampling rates of importance in playing back a le; the rate at which
samples are sent to the DAT machine, and the sampling rate of the le that is to
be played back.
5.7.1 DAT Sampling Rate
Digital audio equipment usually accepts three p ossible sampling rates: 32,000,
44,100, or 48,000 samples/second. The most common rate is 48,000 samples/second
and this is the default for the
naplay
program. The 44,100 is usually only used for
compact disks or pre-recorded tap es.
The digital audio sampling rate can be changed using the
-S
option to
naplay
. To
playback a le such that the DAT records it at 44,100 samples/second use:
naplay -S 44100 file
Note that it is assumed that the le being sent to the DAT is sampled at the
same rate as chosen with the
-S
option. In this case,
le
should contain audio

Table of Contents