Another FM thread
  • Hi,

    I'm new here and while I have started to understand the very basics of Audulus, I'm really stuck when it comes to FM synthesis. I intuitively built a simple synth with vibrato but that's all. I'd like to do audio rate FM modulation. I have gone through several pathches and searched the forum, and while I've read several threads, it's still not clear.

    I would desperately love to see a patch where there is a clear focus on only FM, featuring the bare minimals, one modulator and one carrier, using two oscillator modules, and expression modules. It's been confusing for me when I have seen patches where FM is mixed with other forms of synthesis and there is a ton of routing going on, switches etc and I don't know where to start deciphering what's actually relevant for the FM synthesis.

    Would be very grateful for help!
  • Here's a very simple phase modulation demo, which I believe mathematically works out to be equivalent to FM (I think, could be wrong).
    demo phase modulation.audulus
  • Thank you so much! It's late here so I'll go through it carefully tomorrow but at first glance it seems to be exactly what I have been looking for.
  • Screen Shot 2017-08-06 at 5.46.18 PM.png
    644 x 687 - 97K
    PM vs FM.audulus
  • Thank you very much @RobertSyrett. Very nice illustration.

    I made the simplest outline I could, even skipping an envelope. Is there an expression that would make FM work in this outline (I don't have a good grasp of the Phasor module, so I'm not sure whether I'm using it correctly)?
    2048 x 1536 - 118K
  • @RobertSyrett Thanks!

    I made this patch. Does it seem to be correct?

    Edit: Nvm the question about your module, I had misunderstood the syntax of conditional statements.
    Frequency Modulation test.audulus
    2048 x 1536 - 155K
  • @miur - I think you forgot to attach it?
  • @biminiroad, I was just in the middle of editing my post and exchange the patch/image for the updated versions :-).
  • @Miur Yep! You got the basic patch down, now you can customize it into your own module. You can chain these together to create complex algorithms and make far out overtones!
  • @RobertSyrett Thanks a lot for your help! I wonder about the expression. I'm used to seeing FM defined like this:

    x_c(t): carrier signal
    x_m(t): modulator signal


    Then of course you will get the sum of sidebands which can be calculated with the Bessel function and then I guess you should just be able to add those sidebands together, I think.

    1) Where does the part of the expression 2^(16*x-8) above come from?

    2) Also, if you increase the modulation index above 1 with your expression, you get more extreme results, until you end up with just noise.
  • 1) That 2^(16*x-8) is just exponential scaling for the index of the frequency modulation. It's not strictly required, but it seems to have a nice sweet spot. You should check out the @stschoen Linear FM oscillator, that's where I got that.

    2) Yeah, in digital systems you get aliasing above the nyquist frequency and it devolves into noise. Personally I don't mind so much, but there are limitations imposed by the standard sample rate when it applies to frequency modulation.
  • @RobertSyrett I'm very grateful for all the help I've received. And in addition I now have a very clear layout for PM synthesis as well!

    I found the thread where you and stschoen are discussing FM. Very informative! I had missed that thread previously.
  • @Robert Syrett Thanks for this – I’d somehow missed this thread before.

    I've been playing around with the patch a little – thought it would be fun to recreate this Wikipedia phase modulation gif:
    PM vs FM.audulus
    1483 x 1483 - 192K
  • :)

    I kind of love that wikipedia gif.
  • So just curious - what's the advantage of exponential modulation? I finally got around to really diving into the difference, but it seems like with exponential modulation, the behavior is unpredictable and hard to keep in tune. Is this more of a bleepy bloopies situation?
  • Exponential FM is the basis for volt per octave tuning mostly, but it does have a different sound design applications when being used at audio rates than linear FM.
  • @RobertSyrett - still a little confused - my uPVCO has both a linear and exponential input. I guess my question would be why? Wouldn't it be better to just use linear modulation because it would stay in tune?
  • I can see why exponential modulation would be easy to do since it's basically just mixing two voltages together, and that's probably why it was prevalent in modulars...
  • Since pitch is exponential, exponential modulation allows you to have a 1 volt per octave input that tracks properly. Think of the Hz input on the Audulus oscillator. It's a linear input. If 0 was 440 Hz and 1 was 880 Hz then 3 would be 1320 Hz not 1760 Hz. On the other hand, with FM at audio frequencies, the side band frequency changes exponentially with a linear change in the modulator frequency, so a linear input is useful for FM. Additionally a linear input gives you a smoother response for things like tremolo. There is definitely room for both.
  • @stschoen ah ok that make sense! Thanks :)