Giter Site home page Giter Site logo

opentx-custom-sounds's Introduction

OpenTX custom sounds

For macOS/OS X/Linux/Unix (Windows users see OpenTX Speaker). Uses say command for speech synthesis and sox for conversion of your own custom sounds for use by OpenTX 2.2.x. See OpenTX Audio reference.

Sample: 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

opentx-custom-sounds's People

Contributors

brandonhill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.