From KDE Community Wiki

Audacity is an open source audio recorder. It's a good choice to do your voice recordings for Marble. Of course it's also possible to use different software if you want to.

Initial Setup

  • Ask your system administrator to install audacity on your system if it's not installed yet. Audacity is available in any sane Linux distribution. Versions for Mac and Windows exist as well.
  • Connect your microphone to your system
  • Start audacity

Voice Sample Recording

  1. Get another voice sample to speak from the translations page
  2. Press the record button in audacity
  3. Speak the text
  4. Press the stop button
  5. Play the spoken text. If it's not ok, record it again
  6. Cut any excessive silence at the start and the end
  7. Normalize the voice sample (effects menu)
  8. Export the voice sample (File, Export) as ogg vorbis. See the translations page for the filename

Alternative Voice Sample Recording method

  1. Get the list of the voice samples to speak from the translations page
  2. Press the record button in audacity
  3. Speak a line of text
  4. Pause for 2 seconds
  5. Speak another line of text, etc
  6. When you're done, hit the stop button
  7. Play the whole file, stop when you think you must record again
  8. Select the part of the recording to record again
  9. Hit Generate > Silence to remove the recording
  10. Press the record button to record again in another track
  11. When you're done, export this as a single ogg file to merge all the tracks
  12. Open this file and run Sound finder in Analyse
  13. Change the values until you get 64 labels matching the recordings
  14. Run Multiple export, select ogg vorbis, the folder to export to (that we call [AUDACITY_FILES_DIR]) and hit Export
  15. Download the script, extract and chmod a+x
  17. Your files are ready with the proper names in [MARBLE_FILES_DIR]


  • Make sure no other sound disturbs your recordings.
  • Repeat several recordings to find the optimal volume setting of the microphone
  • Sometimes it's easier to speak longer sentences or to repeat the same text several times and to cut the recordings afterwards
  • Don't record everything in one go, but make smaller breaks between. Try to avoid longer breaks though (e.g. lunch).
  • Don't rush. Quality recordings take their time

Tips for a good speaker

  • Smile a bit while speaking (but don't overdo it). Your voice will sound friendlier and more vivid as a result.
  • Try to speak clearly so that it's easy to understand your voice while driving.
  • Think about proper intonation of samples that are supposed to get concatenated.