Supply mp3 to be processed?

Hi,

I was wondering whether it was possible to supply a wav/mp3/mp4 file to rhasspy, preferably via http?

My use case is to use Tasker and Telegram to create voice files and send them to rhasspy.

Is this possible or would it be easier to write the parts together myself?

Thanks!

If you want to recognize an intent from a wav file you can do this with the http api. https://rhasspy.readthedocs.io/en/latest/reference/#http-api
you can post a wave file to this endpoint to have it handled /api/speech-to-intent. For more details take a look at the link above.
This seems to be exactly what you are looking for except that it takes wav files instead of mp3.

1 Like

Thank you very much! Looks exactly like what I need!