How I record and playback sounds on the Netwinder
RECORDING WAVE FILES USING THE BUILT IN MICROPHONE
0) I did this from an SU account
1) Set the mixer to a proper state using /usr/bin/mixer.
Notice 7 means Mic/Headset
#mixer -source=7 -dsp=100 -mic=100 -master=100
2) Use the brec application to record a wave file.
#brec -b16 -s11025 -t30 -w test.wav
3) Use the bplay application to playback the wave file.
#bplay test.wav
RECORDING WAVE FILES USING THE LINE IN
0) I did this from an SU account
1) Set the mixer to a proper state using /usr/bin/mixer.
Notice 6 means Line.
#mixer -source=6 -dsp=100 -mic=0 -master=100
2) Use the brec application to record a wave file.
#brec -b16 -s11025 -t30 -w test2.wav
3) Use the bplay application to playback the wave file.
#bplay test2.wav
RECORDING .au files USING THE BUILT IN MICROPHONE
0) I did this from an SU account
1) Set the mixer to a proper state using /usr/bin/mixer.
Notice 7 means Mic/Headset
#mixer -source=7 -dsp=100 -mic=100 -master=100
2) Use the cat application to record an au file. This
will record a 8000hz at 8 bits.
#cat /dev/audio > test.au
(press ^C) to quit
3) Use the cat application to playback the au file.
#cat test.au > /dev/audio
RECORDING .au files USING THE LINE IN
0) I did this from an SU account
1) Set the mixer to a proper state using /usr/bin/mixer.
Notice 6 means Line.
#mixer -source=6 -dsp=100 -mic=0 -master=100
2) Use the cat application to record an au file. This
will record a 8000hz at 8 bits.
#cat /dev/audio > test2.au
(press ^C) to quit
3) Use the cat application to playback the au file.
#cat test2.au > /dev/audio