OSC crossfader control = broken?

Post your questions here and we'll all try to help.
snerk4000
Posts: 2
Joined: Fri Apr 01, 2011 01:47

OSC crossfader control = broken?

Post 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?

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: OSC crossfader control = broken?

Post by Joris »

Works for me. Try turning off 'bundles' for OSC in the preferences.

suvani
Posts: 15
Joined: Sun Sep 02, 2012 11:13

Re: OSC crossfader control = broken?

Post 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.

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: OSC crossfader control = broken?

Post 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.

suvani
Posts: 15
Joined: Sun Sep 02, 2012 11:13

Re: OSC crossfader control = broken?

Post 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!

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: OSC crossfader control = broken?

Post 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?

suvani
Posts: 15
Joined: Sun Sep 02, 2012 11:13

Re: OSC crossfader control = broken?

Post 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.

suvani
Posts: 15
Joined: Sun Sep 02, 2012 11:13

Re: OSC crossfader control = broken?

Post 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!!

suvani
Posts: 15
Joined: Sun Sep 02, 2012 11:13

Re: OSC crossfader control = broken?

Post 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!!

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: OSC crossfader control = broken?

Post 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.

Post Reply