How i can convert Arabic text to speech in Mendix

0
Greetings, I am currently endeavoring to convert text into speech. While I have succeeded with English text, I encountered challenges when attempting to do the same with Arabic text. Could you kindly provide any insights or advice on how to address this issue? Thank you in advance.   #ArabicTextToSpeach #TextToSpeech #SpeechSynthesis #SpeechTechnology #LanguageProcessing #VoiceGeneration #AudioOutput #NaturalLanguageProcessing #MultilingualSpeech #VoiceSynthesis #AccessibilityTechnology
asked
1 answers
0

1 idea is to use the browser APIs like below example.

 

let msg = new SpeechSynthesisUtterance();
const voices = window.speechSynthesis.getVoices();    
const lang1="ar" 
msg.voice =voices[2]; 
msg.lang=lang1; 
msg.text = "يرجى نسخ الجملة التالية أدناه";
window.speechSynthesis.speak(msg);

You can put this in a JS Action which you can trigger used a Nanoflow.

 

Of course this is not a full solution. but you can use the browser APIs to achieve this. 

answered