Boolean Logic Sequencer Error

For discussion of the Voltage Modular synthesis ecosystem.
Post Reply
Xeys42
Posts: 25
Joined: Thu Sep 02, 2021 4:58 pm

Boolean Logic Sequencer Error

Post by Xeys42 »

I made a quick patch demonstrating the following anomaly. If you look at the attached images the first one shows the And operator working as it should, i.e. the sequencer doesn't run, however, when I select Nor and Xnor the sequencer runs. This shouldn't happen as A is on and B is off which defies the logic, and yes I have pressed the stop button before changing the modes. I'm wondering if this is a bug. :!: Maybe it's something to do with the LFO :?: However, changing the rate doesn't change anything.
and operator
and operator
and.png (1.13 MiB) Viewed 120 times
nor operator
nor operator
nor.png (1.1 MiB) Viewed 120 times
xnor operator
xnor operator
xnor.png (1.09 MiB) Viewed 120 times
ColinP
Posts: 1000
Joined: Mon Aug 03, 2020 7:46 pm

Re: Boolean Logic Sequencer Error

Post by ColinP »

This is the expected behaviour.

One of the inputs is disconnected therefore always zero, let's say it is the B input that's disconnected
so B = 0

Looking at the truth table for NOR

A B Q
0 0 1
0 1 0
1 0 0
1 1 0

Now when A (the LFO) is 0 the output is 1.
When A is 1 the output is 0.

With XNOR...

A B Q
0 0 1
0 1 0
1 0 0
1 1 1

Same result.

So in both circumstances the clock is just being inverted and the sequencer advances (albeit a half cycle out of phase).
ColinP
Posts: 1000
Joined: Mon Aug 03, 2020 7:46 pm

Re: Boolean Logic Sequencer Error

Post by ColinP »

Also if your intention is for the LFO to control the tempo of the sequencer you need to feed its output to the sequencer's EXT CLK socket and engage the EXT button as shown below.

lfoAsClock.png
lfoAsClock.png (266 KiB) Viewed 89 times

You could then add an AND gate into this path to enable or disable the LFO's external clock signal (which is what I'm guessing you were experimenting with).

In your screenshots the LFO is just starting the sequencer and the sequencer is running on its own internal clock. So the only impact the LFO RATE knob will have is how quickly the sequencer starts.
Xeys42
Posts: 25
Joined: Thu Sep 02, 2021 4:58 pm

Re: Boolean Logic Sequencer Error

Post by Xeys42 »

Thanks for replies ColinP. No that wasn't my intention although I will try that. :idea:
Xeys42 wrote: Tue Nov 26, 2024 9:55 pm So in both circumstances the clock is just being inverted and the sequencer advances (albeit a half cycle out of phase).
So from what I understand the LFO inverts the signal? can you expand on this a little more if you don't mind.
Edit: How did I miss that, penny drop moment. Of course the LFO is cycling on and off, D'oh!
ColinP
Posts: 1000
Joined: Mon Aug 03, 2020 7:46 pm

Re: Boolean Logic Sequencer Error

Post by ColinP »

Hi, I hope my posts helped a bit.

The inversion is caused by the NOR or XNOR gates.

The little circle on the output of a logic gate symbol indicates that logical inversion (NOT) is applied to the output so that's one way to understand that a NAND gate is an AND gate followed by an inverter, a NOR gate is an OR gate followed by an inverter etc.

Unfortunately XNOR has come to be used for what I think ought to be called an NXOR gate so this adds a bit of confusion.

Ah, so I'm guessing you were just using the Mini LFO as a source of a test pulse. You might find this module useful...
https://store.cherryaudio.com/modules/buttons-21

Roland (P. Moon) kindly published this for free years ago and I think virtually everbody uses it in test rigs.
Post Reply

Return to “Voltage Modular”