Template:FAQ/Questions/sound be recorded and

How can a sound be recorded and played back on the audiostix?
Looking at the audiostix2 on edge, notice the: &quot;usb power line-in line-out&quot;

Connect up an audio source to line-in and a set of head phones to line-out, modprobe the driver, then run aumix -v100 -l100
 * 1) increase speaker and line-in volume

brec > foo
 * 1) start recording and redirect raw file to file foo

bplay foo
 * 1) play the audio file foo

For mp3 files, use madplay.

The output file 'foo' is a raw data file. You can easily save it as wav then later convert to mp3 using lame.

brec -w foo.wav
 * 1) to record as a wav file

If you want to turn it into a mp3 you can easily do it using lame lame foo.wav foo.mp3
 * 1) to convert a wav to mp3 file

Now you should be able to play with any type of media player.