Includes Ardupilot flight modes. Uses elevenlabs.
- install bun
- install ffmpeg
- install dependencies:
bun install
- Create an elevenlabs free account and get an API key, and create an env file:
cp example.env .env
and update it - Choose a voice on the elevenlabs website
- update script
index.ts
to use your preferred voice (elevenlabsVoice
variable) - update script to generate sounds for you. If you want a file called "bob", to say "Hello Bob!", add an
"bob": "Hello Bob!"
item tospeechTextByFilename
. - run the script:
bun run index.ts
, which will generate sounds to./sounds/$voice_name
- move individual
.wav
files that you like to yoursdcard/SOUNDS
folder - Use the sounds in your EdgeTX controller (Press SYS key, go to the "SPECIAL FUNCTIONS" page, and setup entries e.g.
SA- Ply Trk armed - []
)
This project was created using bun init
in bun v1.1.25. Bun is a fast all-in-one JavaScript runtime.