MM and Kalliope: make Kalliope speaking
Sorry for my english.
I hope my question is not already answered in another post
I am working on module and interactions between Kalliope and MagicMirror.
The module receives the order and takes it into account.
Now, I would like to force Kalliope to say someting.
- I say : “Kalliope … Display the calendar for John”
- Kalliope send a notification to modules
- My module catches this notification and display the calendar for John
- My module forces Kalliope to say “The calendera for John is displayed”
The step 1, 2 a,d 3 are OK
But I do not know if it is possible to do the step 4.
Currently I display only the text.
Thank you for your time and your help.
@npx78 maybe look at the MMM-TTS module (tts - Text To Speech) on github
@sdetweil Thank you for your answer.
In a perfect world, I would like to have the Kalliope voice
Is it possible with MMM-TTS module ?
@npx78 i do not know
Consider MMM-GoogleTTS also.
@sean oops… didn’t see that one!
@NPX78 MMM-TTS is an offline text to speech, where you can choose a few different voices, but I assume the voice of the Google module sounds better, but is online.
Here on the forum was once a member of the Kalliope team, you can reach out to him or on the kalliope project itself, if it needs to be that voice.
After reading your question again, I have a little confusing.
As far as I know, Kalliope has its own TTS feature using pico2wave. And there be more options to use other TTS solution(including Google TTS). So I couldn’t understand why other MM TTS module is needed.
@sean hello Sean.
Using the TTS of Kalliope could be the better solution.
But how can I call this fonctionnalité from a MM module
Thank you for your time and explanations
I have no experience with Kalliope so I’m not sure…
I think this is showing what you needs - https://kalliope-project.github.io/kalliope/rest_api/#run-a-synapse-from-an-order
So, by just calling Kalliope API with curl to run your
reply synapsefrom your module after it’s job, couldn’t be done?