I would like to record some text-to-speech. Right now I pipe the audio to play so that it can be played. The command that I use to play the tts is play -q -

I have tried using audio-record and arecord -f cd -t raw | lame -x -r - out.mp3 which I found online but I only hear static. With the rec command, I can't hear anything.

I don't know what else to do or what to check since I'm not very experience with Ubuntu.

2 Answers 2


If you want to record audio, you can use this ppa although ppas are untrusted:

sudo add-apt-repository ppa:osmoma/audio-recorder
sudo apt-get update
sudo apt-get install audio-recorder

This won't work on 15.10+. If you are using 15.10+ let me know and I'll post instructions on how to install on newer versions.

Here are the instructions for later versions (Ubuntu 15.X, 16.X, & 17.X):

sudo add-apt-repository ppa:audio-recorder/ppa
sudo apt-get -y update
sudo apt-get install --reinstall audio-recorder

Click here for more info and for instructions on removing the old ppa if needed.

  • @Zanna Thanks, I finally have this on my newer version of Ubuntu.
    – mchid
    Aug 3, 2017 at 20:03

To @mchid and others: Audio-recorder for 15.10 has been released. There is a new PPA that belongs to the team. Plase see: http://ubuntuforums.org/showthread.php?t=2295381

  • I have updated my answer with the latest available ppa from the team.
    – mchid
    Aug 5, 2017 at 17:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .