Coverage for src/botadi/mokadi/mokadi_speak.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2@file
3@brief Synthetize voice.
4"""
7def speak(text, lang="fr-FR", voice="", filename=None):
8 """
9 Text to speech.
11 @param text text to speak
12 @param lang language
13 @param voice voice name
14 @param filename filename (to save the results)
16 See `SpeechSynthesizer <https://msdn.microsoft.com/fr-fr/library/system.speech.synthesis.speechsynthesizer(v=vs.110).aspx>`_.
17 """
18 raise NotImplementedError("Implementation was removed.")
19 # from ensae_teaching_cs.cspython import vocal_synthesis
20 # vocal_synthesis(text, lang=lang, voice=voice, filename=filename)