Forums > MaxMSP

Multiple words selected out of textedit

Sep 07 2011 | 9:56 am

Hello everybody,

I just bought max/msp and i love it! But i’m still a beginner so I encountered a problem!

I’m trying to make a program that interacts with your voice. And then sends commands to an Arduino. I’m using Dragon Naturally Speaking, to send out text to a textedit field. And then i select the word. This works perfect however it only recognises 1 word. And i want to use 2 words like "Lights on", "Channel down" "Tv off" etc. Does anyone have any idea how i can fix this problem ?

thanks in advance, greetings from holland!

Sep 07 2011 | 9:58 am

How are you selecting the words from [textedit] at the moment? You might want to look at the [tosymbol] object which will turn a list (of words in this case) in to one single symbol for use in the latter parts of your patch.

Sep 07 2011 | 10:02 am

That would be perfect!

I’m using [select] atm and i tried [route text]->[iter] -> [route lights on]

But i will try [tosymbol] right now!

thanks a lot!

Sep 07 2011 | 10:18 am

Even easier: just set the attribute called ‘outputmode’ to 1 for your [textedit] object.

Sep 08 2011 | 12:26 pm

thanks Luke and Siska, it works like a charm !

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP