cat COPYING | cwpcm -ss -f 800 -lowrez | sox -r 8000 -bu -t raw - copying.wav lowp 1800 Convert the text file COPYING to morse code in 'copying.wav' audio file.
sox reports errors on -bu, remove u and I get sox FAIL sox: Bits value `-u' is not a positive integer
Useful (to me), a correction would be appreciated.
Try this line instead:
cat COPYING | cwpcm -ss -f 800 -lowrez | sox -r 8000 -b 8 -e unsigned-integer -t raw - copying.wav lowpass 1800
Log in to post a comment.
cat COPYING | cwpcm -ss -f 800 -lowrez | sox -r 8000 -bu -t raw - copying.wav lowp 1800
Convert the text file COPYING to morse code in 'copying.wav'
audio file.
sox reports errors on -bu, remove u and I get
sox FAIL sox: Bits value `-u' is not a positive integer
Useful (to me), a correction would be appreciated.
Try this line instead:
cat COPYING | cwpcm -ss -f 800 -lowrez | sox -r 8000 -b 8 -e unsigned-integer -t raw - copying.wav lowpass 1800