Unified · Split
| @@ -184,11 +184,11 @@ your preferred format. · 183 unmodified lines | ||
| 184 | 184 | cd src |
| 185 | 185 | ./sox monkey.wav monkey.xxx |
| 186 | 186 | |
| 187 | −You may have to give the word size and rate for the file. For example, | |
| 187 | +You may have to give the sample format and rate for the file. For example, | |
| 188 | 188 | this command will make a sound file with a data rate of 12,500 samples |
| 189 | −per second and the data formatted as 2-byte (16-bit) signed integers: | |
| 189 | +per second and the data formatted as 16-bit signed integers: | |
| 190 | 190 | |
| 191 | − ./sox monkey.wav -r 12500 -2 -s monkey.xxx | |
| 191 | + ./sox monkey.wav -r 12500 -b 16 -e signed-integer monkey.xxx | |
| 192 | 192 | |
| 193 | 193 | If playback support was compiled in then it can be played like this: |
| 194 | 194 | |