[sdiy] XOR as 'digital' ring modulator

Harry Bissell harrybissell at wowway.com
Tue Nov 9 20:56:31 CET 2010


I think that if you are willing to use only square or pulse
waves, the "x-or" gate is a true multiplier, therefore it ~is~ a
ring modulator.

An analog ring modulator is capable of handling both the signal
inversion (or not) and amplitude variations.

Now that "pwm" issue has me a bit perplexed.
Are you thinking you might input analog waveforms (encoded as PWM)
and then use the X-or, then decode (filter) the result back into
the analog domain ???   Wow I don't know. Have to try that in simulation...

H^) harry




----- Original Message -----
From: cheater cheater <cheater00 at gmail.com>
To: Tom Wiltshire <tom at electricdruid.net>
Cc: Synth DIY <synth-diy at dropmix.xs4all.nl>
Sent: Tue, 09 Nov 2010 14:48:40 -0500 (EST)
Subject: Re: [sdiy] XOR as 'digital' ring modulator

Hi Tom,
You're missing non-linearities in the analog multiplier.

You're also missing the fact that no waveform is a true "square"
waveform: from what I understand, in a XOR gate, the output signal is
re-generated. It is not a derivative of either input signal. This
means that any deviations from ideal squares on the input will not
show up in the sound of the output.

D.

On 09/11/2010, Tom Wiltshire <tom at electricdruid.net> wrote:
> Hi again,
>
> Continuing the series of "things Tom doesn't understand that he'd like to
> get cleared up for once and for all", I've got another question.
>
> I've read in a couple of places (quoted below) that an XOR gate is not
> strictly equivalent to a ring modulator.
>
> Wikipedia says: "Though not equivalent to ring modulation, with square waves
> the resulting sound is quite similar." (Stinks of fudge to me!)
>
> Hal Chamberlin says (about the Rhodes Chroma): "The ring modulator is really
> just an exclusive-or digital gate (using CMOS logic that provides exact 5V
> amplitude outputs) and generates true ring modulation only when the input
> waveforms are square. Nevertheless, the audible effect of ring modulation is
> adequately produced even when the signals are nonsquare."
>
> The output from an XOR can be viewed like this:
>
> 	A	B	Q
> 	-1	-1	1
> 	-1	1	-1
> 	1	-1	-1
> 	1	1	1
>
> This looks to me like it's a perfect ring mod (multiplication function) as
> long as you stick to digital signals, square or otherwise. So XOR could
> multiply two PWM'd pulse trains no problem according to me, but not
> according to Chamberlin.
>
> So what am I missing?!
>
> Thanks everyone,
> Tom
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>
_______________________________________________
Synth-diy mailing list
Synth-diy at dropmix.xs4all.nl
http://dropmix.xs4all.nl/mailman/listinfo/synth-diy

-- 
Harry Bissell & Nora Abdullah 4eva



More information about the Synth-diy mailing list