osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.68k stars 1.02k forks source link

[Feature request] Adding Bulgarian TTS #2992

Closed annasoloviova closed 7 years ago

annasoloviova commented 8 years ago

Recently, I've seen many requests concerning adding Bulgarian voice guidance. I think we should add it.

vshcherb commented 8 years ago

We need somebody with language knowledge, usually we kindly request native speakers to help us if they have technical background. It will be very hard to do ourselves in the end we will still need native person, so we will be looking for a volunteer and we could provide help how to configure it.

sonora commented 7 years ago

See here: #3209. Same info + answers apply.

edy1 commented 6 years ago

Any news on this?

psyhlo commented 5 years ago

How can i help for adding Bulgarian guidance?

sonora commented 5 years ago

Please have a look at 'Creating a New TTS Voice Language' at http://osmand.net/help-online/technical-articles.

psyhlo commented 5 years ago

Is it mandatory to have voice folder? Can i make only tts guidance?

sonora commented 4 years ago

Don't bother for now, creating the bg_tts.js file is what matters primarily. There are a number of languages which currently have no voice subfolder, i.e. no recorded *.ogg files.

psyhlo commented 4 years ago

ok thanks i'll try to steal some time to make it

atdimitrov commented 4 years ago

@psyhlo, is there any progress on this? If not, I'm interested in adding it.

psyhlo commented 4 years ago

i forgot about it :D it is finished but not tested i'll make pull request

I want to test them first, before pull request, any one know how to do that :)

sonora commented 4 years ago

Yes, simply create a folder bg-tts manually under OsmAnd's voice subfolder (next to where the other xx-tts folders are). Put your bg_tts.js file in it, then it will be selectable in OsmAnd.

psyhlo commented 4 years ago

May be i'm missing something it doesnt sounds like bulgarian at all :(

sonora commented 4 years ago

Does the TTS engine on your device support Bulgarian?Go to the Android (not OsmAnd) settings and chose Bulgarian. If there is no such option, maybe go to the Play store and test some third party TTS engines.

psyhlo commented 4 years ago

found one tts engine that support Bulgarian - espeak ng in play store or https://github.com/espeak-ng/espeak-ng the translation need some tweaks

psyhlo commented 3 years ago

i've made a pull request and hope someone continues my work and make it better if the request is accepted :)

vshcherb commented 3 years ago

Accepted - https://github.com/osmandapp/OsmAnd-resources/pull/656 Please test it.

psyhlo commented 3 years ago

@vshcherb thanks @atdimitrov can you test it too

atdimitrov commented 3 years ago

@atdimitrov can you test it too

Sure, I'll try to squeeze it in the schedule :)

atdimitrov commented 3 years ago

I've tested it, it works as expected. There are few phrases that sound weird but other than that it is decent.

The problem however is that the experience is as good as the TTS engine is. There are only few engines that support bulgarian and the quality varies between average and bad. Because if that I'm looking into creating bulgarian voice files. Would such PR be accepted? Also, are there any requirements on how it is executed?

sonora commented 3 years ago

Just look at the config file to see what vocabulary is needed, then record and provide as a PR in the same structure as already existing recorded voices. All file names must of course correspond to the .ogg's specified in your config file.