Having to double tap switch to work

Discuss problems and solutions.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Having to double tap switch to work

Post 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.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
DJRickDawson
Newbie
Posts: 36
Joined: 24 Jan 2013 00:37

Re: Having to double tap switch to work

Post 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?
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Having to double tap switch to work

Post 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
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Post Reply