Page 2 of 2

Re: Having to double tap switch to work

Posted: 13 Nov 2014 06:07
by Phil999
tonight I had another one of those switches to solve. It's only one parameter sent to and from the DAW. When sent (momentary, pad) the scrub control is engaged, but to disengage it needs the note sent two times. To engage only once.

So I set up an expression x inside the LED object (it's a Canvas object acting as LED, but it works also with the regular LEDs object). This x goes to 1 when the note command arrives from the DAW. Then there is a Pads object with a script sending the note command. This pad does not receive anything. If LED.x=1 the pad sends the note command a second time. And if LED.x=0 it sends the note command only once. Problem solved.

Maybe this may give some ideas.

Re: Having to double tap switch to work

Posted: 16 Nov 2014 16:42
by DJRickDawson
Phil999 wrote:tonight I had another one of those switches to solve. It's only one parameter sent to and from the DAW. When sent (momentary, pad) the scrub control is engaged, but to disengage it needs the note sent two times. To engage only once.

So I set up an expression x inside the LED object (it's a Canvas object acting as LED, but it works also with the regular LEDs object). This x goes to 1 when the note command arrives from the DAW. Then there is a Pads object with a script sending the note command. This pad does not receive anything. If LED.x=1 the pad sends the note command a second time. And if LED.x=0 it sends the note command only once. Problem solved.

Maybe this may give some ideas.
could you post the file(s) please?

Re: Having to double tap switch to work

Posted: 17 Nov 2014 05:52
by Phil999
here it is. It's in the 'scrub' area in one of the two Canvas objects.

https://forum.liine.net/viewtopic.php?f=26&t=4621