-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
1-enhancement1 Type: New feature or an improvement1 Type: New feature or an improvement2-audio2 Section: Pāḷi Audio2 Section: Pāḷi Audio3-python3 Language: Pythonic stuff3 Language: Pythonic stuffp1Priority 1: Must havePriority 1: Must havet4Time: a week or more (7days+)Time: a week or more (7days+)
Milestone
Description
This is frequently requested by dictionary users, a play button to hear the pronunciation of the Pāḷi headword.
The most obvious solution is to record audio with a Sri Lankan or Indian who has excellent pronunciation.
There are also a few technological solutions
- Google TTS has good Kannada voices which can work.
- ElevenLabs sound good but the pronounciation is characteristically Hindi, which comes with a number of problems for Pāḷi.
- Amazon Polly isn't great
- Resemble
- Bhashini handles massive bulk TTS within India
UPDATE: https://www.bhashini.ai/ has kindly offered an API key, and their voices are excellent for Pāḷi and Sanskrit
Checklist
- Make Bhashini API interface
- Script to iterate through all unique
lemma_clean - Generate male and female voices
- Populate database with mp3 blobs
- Make an API endpoint in the webapp to serve audio
- Make a JS function to fetch and play audio
- HTML CSS JS for Webapp
- HTML CSS JS for GoldenDict
- Delete blank files before making database
- Trim excess silence before making database
- Change local server address to https://www.dpdict.net before release
- Test
- Integrate into monthly build process
- Update Docs
Metadata
Metadata
Assignees
Labels
1-enhancement1 Type: New feature or an improvement1 Type: New feature or an improvement2-audio2 Section: Pāḷi Audio2 Section: Pāḷi Audio3-python3 Language: Pythonic stuff3 Language: Pythonic stuffp1Priority 1: Must havePriority 1: Must havet4Time: a week or more (7days+)Time: a week or more (7days+)
Type
Projects
Status
Done