Forum Rule: Always post complete source code & details to reproduce any issue!
-
phase modulation + frequency modulation at the same time
Hello,
I have build a synth with FM synthesis. I learned on this forum that FM synthesis was actually Phase Modulation. And indeed using phase modulation produces very consistant and musical results. So I have configured my carrier oscillator using the following setting :
osc1.phaseModulation(360);
On this synth, I also have an LFO to add some vibrato (slow frequency modulation). I noticed that it doesn't work well if I use :
osc1.phaseModulation(360);
instead of
osc1.frequencyModulation(360);
Any idea to use my LFO plus FM(phase) synthesis ?
Thank you
Emmanuel
-
The AudioSynthWaveformModulated only supports a single modulation stream so can only do one
of FM or PM at one time.
You'd have to write a more general version with two modulation streams in to do this, combining
the modulations.
-
if you look at my response to the previous thread you started, the code I posted does what MarkT mentions. the Waveformodulated2 class accepts two modulation inputs which allows you to get vibrato.
-
Thank you very much Murdog !
Here is the thread for those who want to try : https://forum.pjrc.com/threads/68650...-unpredictable
-
Murdog, would you please give me a few explanations with the way to use Waveformodulated2 ?
Do I have to simply replace and rename the original class with yours ?
I rarely dig in theses directions and it not obvious for me ...
Emmanuel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules