Page 1 of 1
					
				OSC Mapping A/B
				Posted: Mon Feb 17, 2014 00:58
				by mikedif
				So I am setting up my touchOSC and so far only am having one difficulty. I am trying to setup a A/B buttons for my 3 layers but cannot for the life of me get it to work. I can get the A button to work and if both A and B buttons are pressed then B will come up but this is not ideal. When I check the OSC input of the buttons i get this "layer3/group (int 0 to 2) Well if I set it 0-2 on both buttons they do the same. Any one know the work around for this?
			 
			
					
				Re: OSC Mapping A/B
				Posted: Mon Feb 17, 2014 11:10
				by Joris
				The OSC address for the AB switch is expecting a value of 0, 1 or 2.
'/layer3/group 1' sets the AB switch for layer 3 to A
'/layer3/group 2' sets the AB switch for layer 3 to B
'/layer3/group 0' sets the AB switch for layer 3 to off
Hope that makes things a bit clearer.
			 
			
					
				Re: OSC Mapping A/B
				Posted: Tue Feb 18, 2014 02:32
				by mikedif
				Perfect thank you very much!
			 
			
					
				Re: OSC Mapping A/B
				Posted: Thu May 26, 2016 05:42
				by diegobattini
				I can't solve this...
I made 2 toggle buttons in TouchOSC.
A: /layer3/group - Value Range from 0 to 1
B: /layer3/group - Value Range from 2 to 2
My problem is only with feedback, buttons works great and do the job. 
If I press A, it lights up. If I press A again it lights off. Just like Resolume.
If I press B, button A lights up. But on Resolume is OK!
What I am doing wrong?
Thanks a lot!
			 
			
					
				Re: OSC Mapping A/B
				Posted: Thu May 26, 2016 18:22
				by pfelberg
				yeah... if you get to solve this, please let us know.
It seems some sort of bugging.
Are you using a PC or a Mac? What about your OSC device, Android or IOS?
I´d like some feedback info about iPad users.
			 
			
					
				Re: OSC Mapping A/B
				Posted: Thu May 26, 2016 18:56
				by diegobattini
				Mac / iPad
I´ve finished my template.
Only thing I´d like to adjust is the visual feedback for some buttons...
/activeclip/video/position/direction
/layerx/group
/activeclip/video/tempo/timelinemode
 

 
			 
			
					
				Re: OSC Mapping A/B
				Posted: Mon Nov 27, 2017 18:26
				by RichVisuals
				Bump, any solution to this for arena 6?
			 
			
					
				Re: OSC Mapping A/B
				Posted: Thu Nov 30, 2017 03:15
				by Downtown
				diegobattini wrote:I can't solve this...
I made 2 toggle buttons in TouchOSC.
A: /layer3/group - Value Range from 0 to 1
B: /layer3/group - Value Range from 2 to 2
My problem is only with feedback, buttons works great and do the job. 
If I press A, it lights up. If I press A again it lights off. Just like Resolume.
If I press B, button A lights up. But on Resolume is OK!
What I am doing wrong?
Thanks a lot!
A should be a range of 1 to 1
B would be a range of 2 to 2
off would be a range of 0 to 0
Check what Joris said.
Joris wrote:The OSC address for the AB switch is expecting a value of 0, 1 or 2.
'/layer3/group 1' sets the AB switch for layer 3 to A
'/layer3/group 2' sets the AB switch for layer 3 to B
'/layer3/group 0' sets the AB switch for layer 3 to off
Hope that makes things a bit clearer.
diegobattini wrote:Mac / iPad
I´ve finished my template.
Only thing I´d like to adjust is the visual feedback for some buttons...
/activeclip/video/position/direction
/layerx/group
/activeclip/video/tempo/timelinemode
 

 
Similar situation. You should give them a range. Check this screenshot for more info.

 
			 
			
					
				Re: OSC Mapping A/B
				Posted: Thu Nov 30, 2017 03:51
				by Oaktown
				The OSC commands for the A/B selectors /composition/layers/3/crossfadergroup and /composition/selectedlayer/crossfadergroup should be integers not ranges so 1=A, 2=B and 3=off
The OSC command for the fader /composition/crossfader/phase is a range from 0 to 1 with a range from -1 to 1 so 0=-1 (A), 1=1 (B) and 0.5=0 (center)