AND, OR, NOT operators

Anything about the Scope modular synths

Moderators: valis, garyb

Post Reply
subhuman
Posts: 2573
Joined: Thu Mar 29, 2001 4:00 pm
Location: Galaxy Inside

Post by subhuman »

Another tip from my mod2 stash:

<i>
From: Sampsa Lehtonen <snlehton@c...>

On Thu, 11 Jan 2001 olivar@c... wrote:

> Hello
>
> I'm playing with the Pulsar modular2 for few days, and now I think it
> lacks some boolean operators (AND, OR, NO) that could be used on
> audio as well as on modulation.

How do you define boolean operators for signal that isn't binary signal?
What is 32-bit AND 32-bit signal (if not done bitwise, of course. It
would cause just some more or less horrible noise)?

> One of the ideas behind that is to build some modules with cyclic
> parametre change, making cyclic "holes" in pulse ...

If you need those boolean operators, you can always fake it. You can
emulate binary signals with square pulse oscillators with amplitude of 0.5
and by adding 0.5 to that signal. So range [-0.5, 0.5] will become as
[0.0, 1.0]

Operator AND is simple - just amplitude modulate all your signals.

Operator OR is a bit more complex. First you and both (or all) signal
together and then use limiter to clip that to 1.0.

NOT is done simply with function 1.0 - [signal]

This way the signal will be always either 0.0 or 1.0. And then you can
modulate final binary signal with your orginal signal (if this is what you
meant?)

I guess you could easily do also somekind of "binarizer", which would
convert an audio signal to binary signal. Perhaps with some kind of db
threshold triggering, even with some dsr-envelope?...


</i>
Post Reply