FAQ:VoIP:TTS

From VTX Public Wiki

Audacity : Mix up or concatenate music and TTS files[edit | edit source]

  • Information:
    • On the Kiosk Selfcare, it is possible to create a TTS file that can be used afterwards in an ACD or IVR feature
    • On the ACD system, you can play a TTS file to present your company, then play a music while waiting in the queue
  • Problem:
  1. You cannot use a short TTS text as waiting music otherwise your customer will get crazy hearing the same text over and over every 10 seconds
  • Problematic: In some specific use case, you would like to merge several TTS or music together
  1. Add a background music to your text
  2. Add a music after your TTS file
  3. Concatenate 2 TTS files to add a message in French, then German, then English
  • Solution: Follow the next sections

Install Audacity[edit | edit source]

  • Information: Audacity is a quite simple, free and open source software than can be used to cut,merge,concatenate audio files https://www.audacityteam.org/
  • Problematic: You wish to install Audacity
  • Solution: Follow procedure below
  1. Download audacity from https://www.audacityteam.org/download/
  2. Install it on your workstation

Concatenate 2 audio files (TTS or music)[edit | edit source]


  • Problematic: You wish to merge 2 audio files (TTS or music into one)
  • Example: You have a TTS file TTS.mp3 and a music Music.mp3 that you wish to concatenate into TTS-Music-Concatenation.wav
  • Prerequisites
  1. Audacity: You have installed audacity software
  2. Music: If you are going to use a music, you need to own the music
  3. Files: You need to have the 2 files on your workstation
  • Solution: Follow procedure below
  1. Open Audacity
  2. (Import files): Use menu File / Import / Audio , and import the 2 files at once ( or more if you wish )
  3. (Stereo to mono): If you have tracks in Stereo mode, you need to transform them to mono
    1. Select the track (will have yellow around it)
    2. Select menu Tracks / Mix / Mix Stereo Down to Mono
  4. (Concatenate Files) Drag and Drop the music after the TTS text ( or the opposite based on your needs)
  5. (Delete the old empty track) Delete the old track that is now empty ( cf screenshot ), you will now have only one line
  6. (Play) You can now click the play button to hear it
  7. (Export Audio): You can now export the audio file into one, using menu File / Export Audio / enter a file name and keep it in WAV / mono / 8 KHz
  8. (Upload): You can now upload back the file in the Kiosk to use it
Audacity - Import Files
Audacity-Imported-Tracks.png
Stereo to mono
Concatenate Files - Delete the old empty track
Audacity-Play-Button.png
Adacity-Export-Audio.png

Play TTS several times with music in the background[edit | edit source]

  • Problematic: You wish to play your TTS file several times during the music with music level lower then the TTS
  • Solution: Follow same procedure as previous section
  1. Open Audacity
  2. (Import files): Use menu File / Import / Audio , and import the 2 files at once ( or more if you wish )
  3. (Stereo to mono): If you have tracks in Stereo mode, you need to transform them to mono
    1. Select the track (will have yellow around it)
    2. Select menu Tracks / Mix / Mix Stereo Down to Mono
  4. (Copy TTS) Rick Click Copy / then Paste TTS and move it to play it 3 times
  5. (Lower Volume) Move the sound level bar in Effects to lower volume of music to hear more the TTS
  6. (Play) You can now click the play button to hear it and adapt it to your needs
  7. (Export Audio): You can now export the audio file into one, using menu File / Export Audio / enter a file name and keep it in WAV / mono / 8 KHz
  8. (Upload): You can now upload back the file in the Kiosk to use it
Audacity-Play-TTS-with-Music-in-Background.png