"B plays when A doesn't play" Boolean logic Q

Cwejman, Livewire, TipTop Audio, Doepfer etc... Get your euro on!

Moderators: Kent, Joe., analogdigital, infradead, lisa, parasitk, plord

Post Reply
Jaypee
Ultra Wiggler
Posts: 915
Joined: Sat Nov 22, 2014 11:46 am

"B plays when A doesn't play" Boolean logic Q

Post by Jaypee » Sun Mar 24, 2019 4:10 am

How would you patch to get this result (in red below)?

It's so simple I'm having a :bang: moment:

Image

I have a Logic 166.

Cheers!
"Those aren't your daddy's waveforms " Cynthia Webster

User avatar
Rigo
Super Deluxe Wiggler
Posts: 2338
Joined: Mon Dec 27, 2010 4:48 am
Location: Belgium

Post by Rigo » Sun Mar 24, 2019 4:34 am

You want (NOT A) AND B, so first patch A in an inverter (the bottom ones), and then take that output together with B in on of the upper parts and take the AND output.

User avatar
Joe.
Wired for sound
Posts: 4944
Joined: Sun Jan 30, 2011 10:58 pm

Post by Joe. » Sun Mar 24, 2019 4:36 am

B AND NOT A

User avatar
Joe.
Wired for sound
Posts: 4944
Joined: Sun Jan 30, 2011 10:58 pm

Post by Joe. » Sun Mar 24, 2019 4:37 am

Fine then :razz:

User avatar
MRoyce
Wiggling with Experience
Posts: 298
Joined: Tue Jul 16, 2013 1:59 am
Location: Stuttgart

Post by MRoyce » Sun Mar 24, 2019 4:42 am

(NOT A) AND (B) should do the trick. In patch terms I would patch B into a VCA input, invert and offset A, so that it's in the positive voltage range, and put that into the VCA CV-in. On the A-166 I'd patch B into input 1, A into the invert function and then into input 2. The AND-output of the first logic block should be what you want.

Edith: Apparently I'm not the only one who likes light logic puzzles on a sunday morning ;)

flashheart
Super Deluxe Wiggler
Posts: 1618
Joined: Mon Jun 01, 2009 7:58 am

Post by flashheart » Sun Mar 24, 2019 4:54 am

Beaten me to it...
I'm not buying a maths though, not my idea of fun...

User avatar
ben_hex
Super Deluxe Wiggler
Posts: 6716
Joined: Sun May 12, 2013 12:58 pm
Location: West Yorkshire, England

Post by ben_hex » Sun Mar 24, 2019 5:16 am

FORUM TO THE RESCUE!

I love it when something gets answered quickly and people figure stuff out. No involvement from me of course just sharing some love for the forum :banana:
All DivKid video series to be found here!
http://www.youtube.com/divkidvideo

Modular Meets Leeds 2019 - August 17th & 18th - SAVE THE DATES

Jaypee
Ultra Wiggler
Posts: 915
Joined: Sat Nov 22, 2014 11:46 am

Post by Jaypee » Sun Mar 24, 2019 5:49 am

I remembered I did it in a session, but my brain refused to work this morning LOL

thank you, you guys are the best!

If anyone interested, here is the sheet I did, inc. basic operations (not visible in the screen shot posted above)

"Those aren't your daddy's waveforms " Cynthia Webster

electricanada
Ultra Wiggler
Posts: 891
Joined: Wed Nov 29, 2017 12:26 am
Location: Norfolk, VA

Post by electricanada » Sun Mar 24, 2019 10:12 pm

Invert a square wave LFO. Send the original to A's VCA, and the inversion to B's VCA.
Eléctrica (electric) Nāda (the yoga of sound).

Jaypee
Ultra Wiggler
Posts: 915
Joined: Sat Nov 22, 2014 11:46 am

Post by Jaypee » Mon Mar 25, 2019 3:41 am

Ok I had to delay the track B (veerrryyy slightly) and make the gate shorter than track A.

Works perfectly now!
"Those aren't your daddy's waveforms " Cynthia Webster

Jaypee
Ultra Wiggler
Posts: 915
Joined: Sat Nov 22, 2014 11:46 am

Post by Jaypee » Sun Dec 01, 2019 5:54 am

Guys, how do you deal with timing delay in such patches?

In this example, I have to invert the track A before Patching into one of the inputs. This way, there is a very very delay between the two track compared and so I have a very small trigger (the length of that trigger is equal to the delay=time for track A to be inverted).

How can I get rid of it?
"Those aren't your daddy's waveforms " Cynthia Webster

User avatar
sir stony
Common Wiggler
Posts: 215
Joined: Mon Feb 25, 2019 6:09 pm
Location: Bavaria

Post by sir stony » Sun Dec 01, 2019 6:23 am

I'd use the A162 before the logic to adjust the timing. I reduced the timing caps on mine as the stock 2ms minimum value is somewhat coarse to fiddle with such miniscule adjustments.

User avatar
EATyourGUITAR
has no life
Posts: 3822
Joined: Tue Aug 31, 2010 12:24 am
Location: Providence, RI, USA

Post by EATyourGUITAR » Sun Dec 01, 2019 9:47 am

there are two right answers. the other right answer is AND(XOR(A,B),B)
WWW.EATYOURGUITAR.COM <---- MY DIY STUFF

User avatar
mookmoof
Common Wiggler
Posts: 222
Joined: Thu Oct 18, 2012 10:59 pm
Location: tampa

Post by mookmoof » Sun Dec 01, 2019 11:36 am

Or.. NAND AND B :goo:

Jaypee
Ultra Wiggler
Posts: 915
Joined: Sat Nov 22, 2014 11:46 am

Post by Jaypee » Sun Dec 01, 2019 1:33 pm

Yes, thanks! Now the question is how to get them perfectctly sync.

I thought about modified 162 as well! Probably the most simplest option and cheap too!
"Those aren't your daddy's waveforms " Cynthia Webster

User avatar
EATyourGUITAR
has no life
Posts: 3822
Joined: Tue Aug 31, 2010 12:24 am
Location: Providence, RI, USA

Post by EATyourGUITAR » Thu Dec 05, 2019 12:45 am

mookmoof wrote:Or.. NAND AND B :goo:
this is pretty smart! AND(NOT(AND(A,B)),B) = AND(NOT(A),B) = AND(XOR(A,B),B)
WWW.EATYOURGUITAR.COM <---- MY DIY STUFF

Post Reply

Return to “Eurorack Modules”