Save audio from Google Translator in 6 steps in Ubuntu Linux THE RIGHT WAY

Audacity saving Google Translator audio
Image: Audacity saving Google Translator audio (License: CC-BY-SA Marcelo Canina)
Published:

Overview

Saving audios generated by the Google’s Translator https://translate.google.com into an mp3 file is not trivial, we will see a method for text of an arbitrary size and save them into a high quality audio file.

For this method we will play the lyrics with the translator’s Play button, while having Audacity (an audio processor program) record the internal microphone.

1. Dependencies

We need the following programs:

  • PulseAudio Volume Control 1 pavucontrol - A simple volume control tool (mixer) for the PulseAudio sound server.
  • audacity 2 - Graphical cross-platform audio editor

To install them: sudo apt install pavucontrol audacity

2. Choose internal microphone

Next step is to choose the internal mic as the source of our record.

Open the volume control pavucontrol and then choose the Recording tab. Then choose Monitor of Built-in Audio Analog Stereo.

3. Start recording

Open audacity and press the recording button, then go to the browser and in the translator web page, press the Play button.

Audacity will be recording all that is being said at the Translator’s audio.

4. Stop recording

When translator finishes speaking, go to the Audacity window and Stop the recording.

5. Final tweakings

5.1 Normalize

Make the sound louder by normalizing it. Choose all the audio track with Ctrl + A. then go to Effects - Normalize

5.2 Remove silence

Make the sound louder by normalizing it. Choose all the audio track with Ctrl + A. then go to Effects - Truncate Silence.

6. Export to mp3 or ogg

In Audacity, File - Export - Export as OGG.

Reference


  1. PulseAudio web site: http://pulseaudio.org/ ↩︎

  2. http://www.audacityteam.org ↩︎

Uruguay
Marcelo Canina
I'm Marcelo Canina, a developer from Uruguay. I build websites and web-based applications from the ground up and share what I learn here.
comments powered by Disqus


How to save Google Translator's generated audio into an mp3 file

Clutter-free software concepts.
Translations English Español

Except as otherwise noted, the content of this page is licensed under CC BY-NC-ND 4.0 . Terms and Policy.

Powered by SimpleIT Hugo Theme

·