Author Topic: Basic waveforms with FM  (Read 59 times)

SMF

  • Team member
  • *
  • Posts: 4
    • View Profile
Basic waveforms with FM
« on: July 11, 2019, 02:03:30 PM »
Hello all,

so I am the proud owner of a preenFM2 now... And I try to get accommodated with its FM-synthesis (this is not the first FM-capable synthesizer I use, btw...), so I thought it would be fun to do what I have done on many FM-synths before: creating baisc waveforms with FM (saw, tri, square, pulse) to get an understanding of it's parameter-range and response...

But whatever I try I can not even come close to a synthesized 2-OP approximation of a sawtooth-waveform?!? hmm,... The spectrum looks right, so I guess there is some sort of phase-delay inside the operators, maybe?

BTW: just curious, but what was the reason for not using phasemodulation but real FM?

many thanks,
Stefan


SMF

  • Team member
  • *
  • Posts: 4
    • View Profile
Re: Basic waveforms with FM
« Reply #1 on: July 11, 2019, 11:06:25 PM »
hi,

after some further experiments... Could it be that there is a highpass-filter in-between the carriers and the modulators (in-between every modulator-carrier-link... so there should be quite a lot of them)? This could explain the observed phase-shift. And if so, this would effectively implement phase modulation instead of frequency modulation because of using the derivative of the modulation-signal, then.. wouldn't it?

If I'm not missing a point here, wouldn't it be "better" in this case to directly use PM and to save some CPU-cycles by avoiding the HP-filters (maybe to increase sample rate or polyphony or for allowing feedback)?

all the best,
Stefan

SMF

  • Team member
  • *
  • Posts: 4
    • View Profile
Re: Basic waveforms with FM
« Reply #2 on: July 12, 2019, 01:28:19 PM »
Hello again,

I have made a measurement of the preenFM2-output (noise is due to digital amplification to make it fit the simulated data in gnuplot. Despite a 13-16 kHz whine at -60dB -- the OLED? -- the output is dead clean) and compared it to

a) a 3OP-PM sawtooth-approximation without a phase-shift in between the carriers and the modulators

and

b) a 3OP-PM sawtooth-approximation with a phase-shift of pi*0.5

One clearly can see, that (b) is quite close to the output of the preenFM2. The differences -- I think -- mostly come from the frequency response of my audio-equipment which will of course distort the signal a little bit.

This should clarify what I meant with "phase-delay" in the last postings.

To explicitly say this: Both variants (whith and without the phase-difference) absolutely sound the same and have the same spectral distribution. Only the waveform on the oscilloscope will differ from the expected result. So, basically this is nothing to worry about...

On the other hand side: This result makes me really think that it might be a good idea to (maybe via a flag for backwards-compatibility?) switch the preen over to use PM (as most (all??) other "FM" synths do). It's using PM anyways, now...
With this change it would produce the expected waveforms from the various tutorials and it would (most probably) save some CPU-time to calculate...

For me personally it was just irritating. The sound and the flexibility of this nice little monster is outstanding! I love it, so many thanks Xavier!

all the best,
Stefan