Forums > Javascript

Specific value to specific object

December 31, 2013 | 4:17 am

Hi!!

I would like from my website send values(int) of input tag(html), to for example dial objects in max msp, I can to receive values in max msp to dial object, but I can´t redirect different types of values to differents objects in Max msp. (other example) In the website input id="input1" contains value of 30 and I want this value in the dial 1 in max msp and input id="input2" contains value =50 and I need this value in the dial 2, do you understand??

Sorry, for my terrible english!! sorry..

best regards from Spain and happy new year 2014!


January 2, 2014 | 6:54 pm

have a look at the route object


January 3, 2014 | 1:29 am

OK, thanks for your response Floatin point, but I was experimenting with this object and nothing…

Copy the (minimal) patch actually…

Looking the solution!! :-(

– Pasted Max Patch, click to expand. –

January 3, 2014 | 2:14 am

this works (get rid of fromsymbol and format messages correctly):

<code>

– Pasted Max Patch, click to expand. –

</code>

but if you are sending to max from another application /site you’ll need to conform the message to a osc-compatible structure, or use a different object, (like sadam.udpReciever) which can receive raw bytes


January 24, 2014 | 1:16 am

Sorry for the delay in my response Floating point but I was no internet connection :-/

OK, your patch is very good for routing differents values from the same patch, but when I send data from UDP connection I can´t route because it gets values but without making a difference between them. :-/ sorry again for my english..


February 8, 2014 | 3:44 am

please help me!!!! :-)


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