Multiple words selected out of textedit

Sep 7, 2011 at 9:56am

Multiple words selected out of textedit

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 7, 2011 at 9:58am

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 7, 2011 at 10:02am

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 7, 2011 at 10:18am

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

Sep 8, 2011 at 12:26pm

thanks Luke and Siska, it works like a charm !


You must be logged in to reply to this topic.