Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add language/locale: En_Ireland #119

Open
2 tasks done
stevempotter opened this issue Jul 11, 2024 · 5 comments
Open
2 tasks done

Add language/locale: En_Ireland #119

stevempotter opened this issue Jul 11, 2024 · 5 comments

Comments

@stevempotter
Copy link

stevempotter commented Jul 11, 2024

Description

I'd like to be able to CREATE A voice pack in the following language(s) and locale(s): English in an Irish accent.

This is not a request to use AI to generate a new dialect, but to get help on how my wife, who is Irish, can record a voice pack of the correct format. She does some voiceover work and has good clear enunciation in a fairly neutral Dublin accent.

Thanks!

  • en_IRL

Help make EdgeTX better!

  • (optional) I can help reviewing the translations.
  • (optional) I can help reviewing the sounds once they're generated.
@pfeerick
Copy link
Member

pfeerick commented Jul 16, 2024

We are using a somewhat eclectic mix of two letter ISO 3166 country code and and ISO 639 two letter locale code, so that would be en-IR, for English, Ireland, but that sounds fine and would be great. Some competition for "Emily" 😆
Someday we'll have to move everything over to an proper standard... but that is a problem for another day ;)

@stevempotter
Copy link
Author

Great. Can you help with instructions?

@pfeerick
Copy link
Member

pfeerick commented Jul 18, 2024

Basically you will want another entry in sounds.json like this one...

{
"language": "en-IE",
"name": "Irish English",
"description": "Irish English Female Voice (en-IE-Emily)",
"directory": "en"
},

And audio files for all the entries in
/voices/en-GB.csv @ https://github.com/EdgeTX/edgetx-sdcard-sounds/blob/main/voices/en-GB.csv -
which would go in a new folder in
/SOUNDS @ https://github.com/EdgeTX/edgetx-sdcard-sounds/tree/main/SOUNDS

perhaps un-creatively named en_ir unless you want to ... name... the pack somewhat... in that case, it will just need the en_ prefix.

Bonus points if you can convince her to do /voices/en-GB_scripts.csv @ https://github.com/EdgeTX/edgetx-sdcard-sounds/blob/main/voices/en-GB_scripts.csv also.

If you want to do words/phrases not in /voices/en-GB.csv, that is fine... just need to add them (and /voices/en-US.csv also as that is basically a copy at this point).

Hopefully the release script does not mangle the audio when it tries to clip any trailing silence / normalise the audio, else I'll need to teach it some new tricks so it leaves that alone. Audio files need to be PCM Wave files, no higher than 32khz sample rate, mono.

Yell out if you need any more information, or if something isn't clear. ;)

@stevempotter
Copy link
Author

Thanks.

#Hopefully the release script does not mangle the audio when it tries to clip any trailing silence / normalise the audio,

I hope this audio processing (what is a release script?) is something you will do? Or am I responsible for that? If so, I will need some hand-holding.

Looking forward to en_ir-mairead on my TX!

@pfeerick
Copy link
Member

Yeah, that will be my problem to deal with.

It's the release.sh script that is in the repo root directory, that does all the audio trimming, normalisation and builds the zip files for each sound pack. Whereas generate.sh builds all the wav files via Azure TTS that are in the SOUNDS directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants