OpenTX-custom-sounds

所属分类:内容生成
开发工具:Shell
文件大小:146KB
下载次数:0
上传日期:2017-10-26 16:52:49
上 传 者sh-1993
说明:  OpenTX 2.2.x的自定义声音发生器
(Custom sound generator for OpenTX 2.2.x)

文件列表:
LICENSE (18047, 2017-10-26)
custom.txt (340, 2017-10-26)
generate.sh (3001, 2017-10-26)
samples (0, 2017-10-26)
samples\hello.wav (159708, 2017-10-26)
system.txt (151, 2017-10-26)

# OpenTX custom sounds For macOS/OS X/Linux/Unix (Windows users see [OpenTX Speaker](http://www.open-tx.org/2014/03/15/opentx-speaker)). Uses `say` command for speech synthesis and `sox` for conversion of your own custom sounds for use by [OpenTX 2.2.x](http://www.open-tx.org/2017/05/30/opentx-2.2.0). See OpenTX [Audio reference](https://opentx.gitbooks.io/manual-for-opentx-2-2/content/advanced/audio.html). Sample: [hello.wav](https://raw.githubusercontent.com/brandonhill/OpenTX-custom-sounds/master/samples/hello.wav) (right click and download linked file). ## Usage * Using **Terminal.app** navigate to your local OpenTX Companion folder, e.g.: ``` $ cd ~/Documents/RC/Open\ TX ``` * Clone this repository and navigate to local copy: ``` $ git clone git://github.com/brandonhill/OpenTX-custom-sounds.git $ cd OpenTX-custom-sounds ``` * Open sound configuration files to edit (and save), if desired: ``` $ open custom.txt $ open system.txt ``` > Expected format is a six character name (a-z, dashes) and the text to be read, separated by a tab character. > Sounds in `system.txt` should have the same names as and will overwrite existing system sounds or they won't be usable (without editing sound mappings). * Create your sounds: ``` $ ./generate.sh ``` ### Parameters * **-l**: Specify language code. Default is `en`. * **-o**: Specify output directories separated by a colon `:`. Will try to create them if they don't exist. Default is `../SD structure/SOUNDS`. * **-p**: Play the sounds while generating them. * **-v**: Specify voice to use. Default is Karen. Run `say -v '?'` to see available voices. ### Examples ``` $ ./generate.sh $ ./generate.sh -l fr $ ./generate.sh -o '../SD structure/SOUNDS:/Volumes/Taranis SD/SOUNDS' $ ./generate.sh -p $ ./generate.sh -v Daniel $ ./generate.sh -l de -o ~/Desktop/OpenTX\ Sounds -p -v Kate ```

近期下载者

相关文件


收藏者