Closed juergenpabel closed 3 years ago
Why not. Could you add the doc ?
Added docs (and changed neuron parameter 'file' to 'filename')
The travis 'docker' build fail with (not related to my PR):
error: Werkzeug 0.16.1 is installed but Werkzeug>=2.0 is required by {'Flask', 'flask'}
Done. And also modified PlayerModule.convert_mp3_to_wav to skip conversion if file has suffix ".wav" - this is not only and optimization but also addresses (presumably static) .wav files provided to the play neuron shouldn't be overwritten/modified by the player (as they aren't generated but part of the kalliope environment).
What's the issue with flask 2.0 by the way? I have set up an environment that works with flask 2.0 and werkzeug 2.0.1 with no source changes in kalliope.
Thanks for your commits. We still have a dependency issue in the docker image. I'll try to fix it today and merge.
I'll fix docker tests later. Thanks for the PR.
Currently, no neuron exists to play an existing sound file. I added the core neuron 'play' with a parameter 'file' to implement this. At least my primary intention is to not output a TTS message upon being triggered, but rather an short jingle/notification sound.
For example: