"Fossies" - the Fresh Open Source Software Archive 
Member "speech_tools/testsuite/correct/ch_wave_script.out" (19 Oct 2017, 6656 Bytes) of package /linux/misc/speech_tools-2.5.0-release.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "ch_wave_script.out":
2.4-release_vs_2.5.0-release.
1
2 ch_wave nist to esps to nist: pass
3 ch_wave nist to snd to nist: pass
4 ch_wave nist to riff to nist: pass
5 ch_wave nist to audlab to nist: pass
6 ch_wave nist to aiff to nist: pass
7 ch_wave nist to est to nist: pass
8 ch_wave raw binary test: pass
9 ch_wave raw ascii test: pass
10 ch_wave byte order test: pass
11 ch_wave stdio test1: pass
12 ch_wave stdio test2: pass
13 ch_wave stdio test3: pass
14 ch_wave stdio test4: pass
15 ch_wave subwave test1: pass
16 ch_wave subwave test2: pass
17 ch_wave concat : pass
18 ch_wave channel combine/extract : pass
19 ch_wave default file type: pass
20 Duration: 0.0724
21 Sample rate: 8000
22 Number of samples: 579
23 Number of channels: 1
24 Header type: nist
25 Data type: short
26 Duration: 0.3144
27 Sample rate: 8000
28 Number of samples: 2515
29 Number of channels: 1
30 Header type: nist
31 Data type: short
32 Duration: 0.6118
33 Sample rate: 8000
34 Number of samples: 4894
35 Number of channels: 1
36 Header type: nist
37 Data type: short
38 Duration: 0.5088
39 Sample rate: 8000
40 Number of samples: 4070
41 Number of channels: 1
42 Header type: nist
43 Data type: short
44 ch_wave key extract : pass
45 Duration: 2.0182
46 Sample rate: 8000
47 Number of samples: 16146
48 Number of channels: 1
49 Header type: nist
50 Data type: short
51 Usage: ch_wave [input file0] [input file1] ... -o [output file]
52 Summary: change/copy/combine waveform files
53 use "-" to make input and output files stdin/out
54 -h Options help
55
56 -itype <string> Input file type (optional). If set to raw, this
57 indicates that the input file does not have a header. While
58 this can be used to specify file types other than raw, this is
59 rarely used for other purposes
60 as the file type of all the existing supported
61 types can be determined automatically from the
62 file's header. If the input file is unheadered,
63 files are assumed to be shorts (16bit).
64 Supported types are
65 nist, est, esps, snd, riff, aiff, audlab, raw, ascii
66
67 -n <int> Number of channels in an unheadered input file
68
69 -f <int> Sample rate in Hertz for an unheadered input file
70
71 -ibo <string> Input byte order in an unheadered input file:
72 possibliities are: MSB , LSB, native or nonnative.
73 Suns, HP, SGI Mips, M68000 are MSB (big endian)
74 Intel, Alpha, DEC Mips, Vax are LSB (little
75 endian)
76
77 -iswap Swap bytes. (For use on an unheadered input file)
78
79 -istype <string> Sample type in an unheadered input file:
80 short, mulaw, byte, ascii
81
82 -c <string> Select a single channel (starts from 0).
83 Waveforms can have multiple channels. This option
84 extracts a single channel for progcessing and
85 discards the rest.
86
87 -start <float> Extract sub-wave starting at this time, specified in
88 seconds
89
90 -end <float> Extract sub-wave ending at this time, specified in
91 seconds
92
93 -from <int> Extract sub-wave starting at this sample point
94
95 -to <int> Extract sub-wave ending at this sample point
96
97 -o <ofile> Output filename. If not specified output is
98 to stdout.
99
100 -otype <string> Output file type, (optional). If no type is
101 Specified the type of the input file is assumed.
102 Supported types are:
103 nist, est, esps, snd, riff, aiff, audlab, raw, ascii
104
105 -F <int> Output sample rate in Hz. If this is different
106 from the input sample rate, resampling will occur
107
108 -obo <string> Output byte order: MSB, LSB, native, or nonnative.
109 Suns, HP, SGI Mips, M68000 are MSB (big endian)
110 Intel, Alpha, DEC Mips, Vax are LSB
111 (little endian)
112
113 -oswap Swap bytes when saving to output
114
115 -ostype <string> Output sample type: short, mulaw, byte or ascii
116
117 -scale <float> Scaling factor. Increase or descrease the amplitude
118 of the whole waveform by the factor given
119
120 -scaleN <float> Scaling factor with normalization.
121 The waveform is scaled to its maximum level, after which
122 it is scaled by the factor given
123
124 -lpfilter <int> Low pass filter, with cutoff frequency in Hz
125 Filtering is performed by a FIR filter which is built at run
126 time. The order of the filter can be given by -forder. The
127 default value is 199
128
129 -hpfilter <int> High pass filter, with cutoff frequency in Hz
130 Filtering is performed by a FIR filter which is
131 built at run time. The order of the filter can
132 be given by -forder. The default value is 199.
133
134 -forder <int> Order of FIR filter used for lpfilter and
135 hpfilter. This must be ODD. Sensible values range
136 from 19 (quick but with a shallow rolloff) to 199
137 (slow but with a steep rolloff). The default is 199.
138
139 -fafter Do filtering after other operations such as
140 resampling (default : filter before other operations)
141
142 -info Print information about file and header.
143 This option gives useful information such as file
144 length, sampling rate, number of channels etc
145 No output is produced
146
147 -add A new single channel waveform is created by adding
148 the corresponding sample points of each input waveform
149
150 -pc <string> Combine input waveforms to form a single
151 multichannel waveform. The argument to this option controls
152 how long the new waveform should be. If the option
153 is LONGEST, the output wave if the length of the
154 longest input wave and shorter waves are padded with
155 zeros at the end. If the option is FIRST, the length
156 of the new waveform is the length of the first file
157 on the command line, and subsequent waves are padded
158 or cut to this length
159
160 -key <ifile> Label file designating subsections, for use with
161 -divide. The KEYLAB file is a label file which specifies
162 where chunks (such as individual sentences) in
163 a waveform begin and end. See section of wave extraction.
164
165 -divide Divide a single input waveform into multiple output
166 waveforms. Each output waveform is extracted from the
167 input waveform by using the KEYLAB file, which
168 specifies the start and stop times for each chunk.
169 The output files are named according to the filename
170 in the KEYLAB file, with extension given by -ext. See
171 section on wave extraction
172
173 -ext <string> File extension for divided waveforms
174
175 -compress <float> Apply Dynamic Range Compression by factor specified
176 -extract <string> Used in conjunction with -key to extract a
177 single section of waveform from the input
178 waveform. The argument is the name of a file given
179 in the file column of the KEYLAB file.
180
181 Duration: 2.0182
182 Sample rate: 8000
183 Number of samples: 16146
184 Number of channels: 1
185 Header type: nist
186 Data type: short
187 Duration: 2.0637
188 Sample rate: 20000
189 Number of samples: 41274
190 Number of channels: 1
191 Header type: nist
192 Data type: short
193 Duration: 2.0714
194 Sample rate: 8000
195 Number of samples: 16571
196 Number of channels: 1
197 Header type: nist
198 Data type: short