Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ch_track(1) [debian man page]

CH_TRACK(1)						    BSD General Commands Manual 					       CH_TRACK(1)

NAME
ch_track -- change/copy track file SYNOPSIS
ch_track [-h] [-itype file type] [-ctype contour type] [-s frame spacing] [-c channels] [-start time] [-end time] [-from frame] [-to frame] [-o file] [-otype file type] [-S frame spacing] [-info] [-track_names file] [-diff] [-delta length] [-sm time] [-smtype median | mean] [-style style] [-t threshold] [-neg label] [-pos label] [-pc longest | first] input file DESCRIPTION
ch_track copies an input track file to an output track file, optionally performing various operations along the way. The following option flags are recognized: -h Print a short summary of options to standard output. -itype file type Input file type (optional). If no type is specified, type is automatically derived from the input file's header. The list of sup- ported types may depend on your particular Speech Tools installation. For a full listing, see the output of the -h option. -ctype F0 | track Contour type, either F0 (fundamental frequency) or track. -s time Frame spacing of input in seconds, for unheadered input file. -c channels Select a subset of channels (starting from 0). Tracks can have multiple channels. This option specifies a list of channel num- bers which are to be used for processing. -start time Extract track starting at this time, specified in seconds. -end time Extract track ending at this time, specified in seconds. -from frame Extract track starting at this offset, specified in frames. -to frame Extract track ending at this offset, specified in frames. -o file Filename to write output to. Defaults to standard output. -otype file type Output file type. If unspecified, ascii is assumed. For the full list of supported types, see the output of the -h option. -S time Frame spacing of output in seconds. If this is different from the input spacing, the contour will be resampled. -info Print information about the input file and its headers. This option gives useful information such as file length, file type, and channel names. No other actions are taken, and no output file produced. -track_names file File containing new names for output channels -diff Differentiate contour. This performs simple numerical differentiation on the contour by subtracting the amplitude of the current frame from the amplitude of the next. Although quick, this technique is crude and not recommended as the estimation of the derivate is done on only one point. -delta length Make delta coefficients (better form of differentiation). The argument to this option is the regression length of the delta cal- culation and can be between 2 and 4. -sm time Length of smoothing window in seconds. Various types of smoothing are available for tracks. This option specifies length of the smoothing window which affects the degree of smoothing, i.e. a longer value means more smoothing. -smtype median | mean Type of smoothing. -style style Convert track to another form. Currently only one form, "label", is supported. This uses a specified cutoff to make a label file, with two labels, one for above the cutoff (see the -pos option), and one for below (see the -neg option). -t threshold Threshold for track to label conversion. -neg label Name of negative label in track to label conversion. -pos label Name of positive label in track to label conversion. -pc longest | first Combind given tracks in parallel. If option is "longest", pad shorter tracks to longest, else if "first", pad or cut them as appropriate to match the length of the first input track. SEE ALSO
ch_lab(1) ch_utt(1) Edinburgh Speech Tools April 5, 2001 Edinburgh Speech Tools

Check Out this Related Man Page

NA_PLAY(1)						    BSD General Commands Manual 						NA_PLAY(1)

NAME
na_record -- play waveform files on audio device SYNOPSIS
na_play [-h] [-itype type] [-n channels] [-f sample rate] [-ibo byteorder] [-iswap] [-istype type] [-c channel] [-start time] [-end time] [-from sample] [-to sample] [-p protocol] [-command command] [-basic] [-quality high | low] [-server host] [-scale scale] [-v] [-wait] input files ... DESCRIPTION
na_play plays digital audio data to the system's audio input device from the specified file(s). It supports a variety of file formats and native audio devices. The following option flags are recognized: -h Prints a short summary of usage to standard output. -itype type Input file type. Usually, the input type can be determined from the file's headers, so this option is not required except for raw (unheadered) data. Supported types are currently: nist, est, esps, snd, riff, aiff, audlab, raw, ascii. -n channels Number of channels, in an unheadered input file. Again, this can usually be determined from the headers. Default is 1. -f sampling rate Sampling rate, for an unheadered input file. Default is 16000. -ibo byte order Byte order, for an unheadered input file. Default is system byte order. Recognized values are: MSB, LSB, native, nonnative. -iswap Swap bytes in an unheadered input file. -istype type Sample type for an unheadered input file. Recognized values are: short, mulaw, byte, ascii. -c channel Select a single channel (starting at 0) for playback. This option plays only the specified channel and discards all others. -start time Select a subsection of the file, starting at this time (specified in seconds). -end time Select a subsection of the file, ending at this time (specified in seconds). -from sample Select a subsection of the file, starting at this offset (specified in number of samples). -to sample Select a subsection of the file, ending at this offset (specified in number of samples). -p protocol Use the specified audio device protocol. The list of supported types varies between platforms, and can be obtained using the -h flag. -command command If the "audio_command" protocol is specified, this argument must be given to select the command used to play the waveform. A temporary file is created and passed in the environment variable FILE. The sample rate is passed in the environment varialbe SR. -basic Treat unheadered input files as 8kHz mu-law data (i.e. audio/basic MIME type) -quality high | low Select the quality of output. "high" will ensure that proper resampling is used. "low" means to play as fast as possible with a minimum of processor time. -server host Specifies the host to play sound on, when using a network-aware audio protocol (such as NAS) -scale scale Change the gain (volume) of the signal. The argument is a number relative to 1.0, which is the default. -v Be verbose (i.e. print file names when playing) -wait Pause for a keystroke between each file. ENVIRONMENT
NA_PLAY_PROTOCOL Audio protocol to use (as in the -p flag) NA_PLAY_COMMAND Command used to play audio when using the audio_command protocol. NA_PLAY_HOST Host to play audio on when using a network audio protocol. NA_PLAY_QUALITY Playback quality (low or high) EXAMPLES
To play the section of foo.wav from 1.5 to 3.2 seconds: $ na_play -start 1.5 -end 3.2 foo.wav To play samples 3600 to 42000 of channel 1 of bar.wav: $ na_play -from 3600 -to 4200 -c 1 foo.wav BUGS
The usage information isn't entirely correct. The audio_command protocol generates temporary files insecurely. SEE ALSO
na_record(1) Edinburgh Speech Tools April 4, 2001 Edinburgh Speech Tools
Man Page