10.4 Audio Recording

20221005

To record audio from the microphone we can use the powerful graphical audacity or the simple command line application arecord.

For the command line arecord simply provide a file name into which the recording will be saved. Start speaking and then type Ctrl-C to terminate the recording.

arecord myrecording.wav

To improve recordings from the computer’s microphone it is recommended to provide the command line option -f S16_LE, which specifies an audio format known as Signed 16 bit Little Endian, which thus uses a higher resolution of 16 bit sampling rather than the default 8 bit sampling.

arecord -f S16_LE myrecording.wav

To transcribe the recording to text see transcribe.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0