Mac Voice Packs & Text To Wav Applications

      Comments Off on Mac Voice Packs & Text To Wav Applications

OpenTX

Contents

File Format

  • File Name: 123456.wav (up to 6 characters plus .wav)
  • Sample Rate: 32 kHz (or 16 Khz, 8Khz)
  • Bits / Sample: 16 (or 8)
  • Tracks: 1, mono
  • Compression Codec: PCM (or u-law, a-law)

Samples

Download

GUI Applications

  • Sound Pack Generator.app
    • A Finder window facilitates selecting the OpenTX sound mapping file.
    • Sound files and folders are generated and placed in the same directory as the sound mapping file.
    • A Finder window shows the location of the produced files.
  • Text To Wav.app
    • A text entry windows accepts the phrase to be spoken.
    • A sound file is generated and placed in Downloads/RCdiy/.

Mac Terminal Scripts

  • SoundPackGenerator.sh
    • ./SoundPackGenerator.sh opentx-map-file.csv
    • Sound files and folders are generated and placed in the current working directory.
  • TextToWav.sh
    • ./TextToWav.sh hello.wav “Welcome to open t x.”
    • A sound file is generated and placed in the current working directory.

Sound Packs

  • OpenTX sound packs have been generated using the Mac Tessa voice.
  • Please e-mail me to request a missing Tessa voice sound pack.

Mac Text To Speech

Producing text to speech wav files is easy on a Mac.

  • say –file-format=WAVE –data-format=LEI16@32000 -v $VOICE -o $FILEOUT $PHRASE
  • say –file-format=WAVE –data-format=LEI16@32000 -v Tessa -o hello.wav “Welcome to open t x”

OpenTX Sound Mapping Files

OpenTX uses a simple semicolon separated file to map the directory path, file name and spoken phrase.

  • path;name.wav;spoken phrase
    • SOUNDS/en;fm-thr.wav;flight mode!, thermal right
  • Location
    • If you have a current stock sound pack look for a .csv file
      under SOUNDS.
    • Companion > File > Download > Download Voice

Resources

  • Voice Sound Pack Generator – Mac OSX by AustinSaintAubin

Comments, Questions & Help