Using text as an input for parameters control

Karen Lin's icon

Hello,

I'm quite new to Max MSP, and I've been struggling with this for a while. I'm working on a university project where I'd like to use speech input to control parameters in Max MSP for creating music and sound. So far, I've managed to convert the speech input into text (outside of Max MSP, in a Python environment).

The only thing I found similar is this one on YouTube https://www.youtube.com/watch?v=eKla9xbfF0g&ab_channel=AaronLee But he didn't show the process of making it only the interface so I wasn't sure how to get to this point.

My question is, how can I use this text input within the Max MSP environment to control parameters? If anyone knows of any tutorials or resources related to this, I'd greatly appreciate it if you could share them with me.

Thank you very much!

Je Monk's icon

Hello,
I depends on the kind of parameters you want to control at the end. For example with a key word "start", if you can convert the speech as a message "start" in Max and send it to a "route start" function you will be able to activate a toggle or any other object depending on what you want to achieve. By filtering a specific message for a dedicated function you will be able to control each parameters, if it is what you are looking for!

Source Audio's icon

In case you want to do anything in real time you need speech recognition.
serch terms maxmsp speech recognition for your
operating system.
on mac it would be buit-in dictation