Page 1 of 2

OSC crossfader control = broken?

Posted: Thu May 05, 2011 23:16
by snerk4000
ok. the crossfader is, according to the little midi map hints:
/composition/cross/values x x x

this just plain doesn't work. i've tried a ton of things and the latest one was to put the crossfader about 1/4 way to center, hit "send osc" and have max record EXACTLY what avenue gave it. when i turn around and send the SAME message back to avenue after moving the crossfader all the way to B, it doesn't budge.

unless i'm missing something here, this should be working. what exactly do i need to send avenue to move the crossfader since what it claims to be the command is not actually the command?

Re: OSC crossfader control = broken?

Posted: Sat May 07, 2011 17:24
by Joris
Works for me. Try turning off 'bundles' for OSC in the preferences.

Re: OSC crossfader control = broken?

Posted: Mon Feb 04, 2013 16:30
by suvani
Hi,

i am trying to do the same that is control the crossfader but using Processing. The following command doesn't seem to work as mentioned by snerk4000.

myMessage.setAddrPattern("/composition/cross/values 1. 0. 0");
myBundle.add(myMessage);
myMessage.clear();

or myMessage.setAddrPattern("/composition/cross/values");
myMessage.add(1 0 0);
myBundle.add(myMessage);
myMessage.clear();
Can you please tell me where i could be going wrong!

Thanks.

Re: OSC crossfader control = broken?

Posted: Mon Feb 04, 2013 18:39
by Joris
I think the problem is that the crossfader only takes a single float as input. You and Snerk4000 are trying to send it three floats.

Send a single 0...1 value to /composition/cross/values and it will work fine.

Re: OSC crossfader control = broken?

Posted: Mon Feb 04, 2013 19:54
by suvani
yes wasn't doing that right. Got it right by doing it this way.

myMessage.setAddrPattern("/composition/cross/values");
myMessage.add(1.0);

Also is there any way that A and B could be assigned to a clip using OSC messages?

Thanks a lot!

Re: OSC crossfader control = broken?

Posted: Mon Feb 04, 2013 23:21
by Joris
/activelayer/group (Int 0 to 2)
or
/layer[x]/group (Int 0 to 2).

Did you know that you can find all the OSC addresses in Resolume by entering the OSC Application Map, and then clicking on the control you want to know the address for?

Re: OSC crossfader control = broken?

Posted: Tue Feb 05, 2013 13:20
by suvani
Oh thanks!! Edit OSC Application Map? So tried clicking as suggested by the help. Can't seem to get where one can read the commands needed to map that element though.

Thanks for all the help Joris.

Re: OSC crossfader control = broken?

Posted: Tue Feb 05, 2013 20:27
by suvani
Oh got it! In the config file my send enabled was 0. Changed it to 1. Getting the messages now in the MIDI map!
Thanks!!

Re: OSC crossfader control = broken?

Posted: Tue Feb 05, 2013 21:31
by suvani
However the message myMessage.setAddrPattern("/layer1/group 0 ");' to assign it to A doesn't seem to be eliciting a response.
Am interfacing with Processing and most keys found on the application map seem to be working but for this and the BPM controller!!

Re: OSC crossfader control = broken?

Posted: Tue Feb 05, 2013 23:19
by Joris
'/layer[x]/group 0' to turn off, '/layer[x]/group 1' to set to A, '/layer[x]/group 2' to set to B.

/playbackcontroller/bpm 0...1 sets a BPM of 2...500. To set it to 130, send '/playbackcontroller/bpm 0.257'

PS Suvani, next time can you please not double post and just start a new thread for your issues? Saying "the float value as mentioned earlier in this thread" in a 9 page thread isn't much helpful.