[sdiy] Frequency modulation vs Phase mod.

Richie Burnett rburnett at richieburnett.co.uk
Sat Nov 26 21:14:08 CET 2022


FM and PM are equivalent except for the placement of the integration step. FM is essentially the same as PM with an integrated modulator waveform.

You can think of PM as adding the modulator signal to the value pulled from the phase accumulator of the carrier oscillator just before it is used as the index into the carrier waveform lookup table. In this case there is a variable offset (the modulator waveform) applied to the carrier phase *post accumulation*.

In contrast FM adds the modulator signal to the fixed phase increment (frequency) of the carrier NCO *before* it is added to the phase accumulator. So the modulator waveform gets integrated in the phase accumulator of the NCO.

You can see that a tiny DC offset in the modulator signal just results in a (largely inaudible) phase shift with PM, but results in a fixed frequency shift with FM. That's one of the reasons why PM is more well behaved musically than true FM... With lots of operators modulating others and limited numerical precision it's easy for DC offsets to occur and it doesn't take much to throw FM out of tune!

To anyone not familiar with PM and FM, it's worth pointing out that phase and frequency modulation result in a complex spectrum of sidebands even for the supposedly simple case where the carrier and modulator are pure sinewaves. The amplitudes of all of the resulting spectral components are described by Bessel functions, unlike the simple spectrum you get from using AM (ring modulation.) 

-Richie,


---- Chris McDowell via Synth-diy wrote ----

>I'll add that the modulating waveform does not need to be the same frequency as, or an integer multiple of, the carrier waveform to qualify as phase modulation. PM refers to this implementation (chowning's, in this discussion) of what amounts to linear FM. It really is simply adding the output of one wavetable lookup to the accumulator of another. I -believe- (and I invite correction here) that the resulting harmonics are identical to those from linear frequency modulation. 
>
>Chris McDowell 
>
>> On Nov 26, 2022, at 1:31 PM, Donald Tillman <don at till.com> wrote:
>> 
>> 
>>> 
>>>> On Nov 25, 2022, at 4:15 PM, Neil Johnson <neil.johnson71 at gmail.com> wrote:
>>>> 
>>>> Donald Tillman wrote:
>>>> This field has a rich history of goofing up the terminology.
>>> 
>>> Yup, same with Ring Modulator - even for devices with no diode ring, just VCAs!
>> 
>> Indeed.  Although I'm inclined to give that one a pass as it sounds so much like bell ringing.
>> 
>> The name "Phase Shifter" for the guitar effect makes it near impossible to describe how it works.
>> 
>> "The phase shifter is based around an all-pass filter."
>> 
>> "Wait... a what?  How can a filter pass everything?  That sounds like an oxymoron; like tight slacks."
>> 
>> "An all-pass filter does indeed pass the full spectrum, but it shifts the phase as a side effect."
>> 
>> "So it's a phase shifter?"
>> 
>> "Yes."
>> 
>> "So a phase shifter is based on a phase shifter?"
>> 
>>  -- Don
>> --
>> Donald Tillman, Palo Alto, California
>> https://www.till.com
>> _______________________________________________
>> Synth-diy mailing list
>> Synth-diy at synth-diy.org
>> http://synth-diy.org/mailman/listinfo/synth-diy
>> Selling or trading? Use marketplace at synth-diy.org
>
>_______________________________________________
>Synth-diy mailing list
>Synth-diy at synth-diy.org
>http://synth-diy.org/mailman/listinfo/synth-diy
>Selling or trading? Use marketplace at synth-diy.org



More information about the Synth-diy mailing list