Record the current audio stream, and convert to mp3.
parec -d 0 | lame -r -V0 - out.mp3
Split the file based on silence in it. Source.
sox -V3 in.mp3 out_.mp3 silence -l 1 0.5 0.1% 1 2.0 0.1% : newfile : restart
Record the current audio stream, and convert to mp3.
parec -d 0 | lame -r -V0 - out.mp3
Split the file based on silence in it. Source.
sox -V3 in.mp3 out_.mp3 silence -l 1 0.5 0.1% 1 2.0 0.1% : newfile : restart