Csound Csound-dev Csound-tekno Search About

[Csnd] FM mod like MIniMoog

Date2013-11-30 22:33
FromRoger Kelly
Subject[Csnd] FM mod like MIniMoog
How would I go about simulating the FM mod that is on my Moog Voyager?
Do I just need to multiply the out of on oscil to the frequency input of another?



Date2013-11-30 23:51
FromJim Aikin
Subject[Csnd] Re: FM mod like MIniMoog
> How would I go about simulating the FM mod that is on my Moog Voyager?
> Do I just need to multiply the out of on oscil to the frequency input of
> another?

In my experiments, adding seems to work better than multiplying. When
adding, the modulating wave needs to have a high enough amplitude to shift
the frequency of the carrier significantly.

See the code below. To hear what happens when you FM a sawtooth wave,
replace asig1 with asig2 in the outs line. When you FM a sawtooth, EACH of
its partials is FM'd.

In both cases, the modulator in this example is a sine wave. If you were to
use a more complex wave as the modulator, again, each of the partials in the
modulator would FM each of the partials in the carrier, most likely
resulting in a massive amount of high-frequency energy.

You can also conveniently use the foscil opcode -- preferably with a sine
wave (but try other waves).

sr = 44100
ksmps = 8
nchnls = 2
0dbfs = 1

giSine	ftgen	0, 0, 8192, 10, 1

instr 1

iamp = 0.5
ifrq = 300
kfmfrq	line 150, p3, 600

afm1	oscil	250, kfmfrq, giSine
kfm1	oscil	250, kfmfrq, giSine

asig1	oscil	iamp, ifrq + afm1, giSine
asig2	vco2 	iamp, ifrq + kfm1

		outs	asig1, asig1

endin




i 1 0 10



--
View this message in context: http://csound.1045644.n5.nabble.com/FM-mod-like-MIniMoog-tp5730381p5730386.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-01-03 19:14
FromAdam Puckett
SubjectRe: [Csnd] Re: FM mod like MIniMoog
This sounds like something I did once when I was making a beat for a
friend and experimenting with sounds. Except mine was a lot crazier. I
eventually had something like a chain of FM/AM combinations that
sounded something like "yayayaya."

On 11/30/13, Jim Aikin  wrote:
>> How would I go about simulating the FM mod that is on my Moog Voyager?
>> Do I just need to multiply the out of on oscil to the frequency input of
>> another?
>
> In my experiments, adding seems to work better than multiplying. When
> adding, the modulating wave needs to have a high enough amplitude to shift
> the frequency of the carrier significantly.
>
> See the code below. To hear what happens when you FM a sawtooth wave,
> replace asig1 with asig2 in the outs line. When you FM a sawtooth, EACH of
> its partials is FM'd.
>
> In both cases, the modulator in this example is a sine wave. If you were to
> use a more complex wave as the modulator, again, each of the partials in
> the
> modulator would FM each of the partials in the carrier, most likely
> resulting in a massive amount of high-frequency energy.
>
> You can also conveniently use the foscil opcode -- preferably with a sine
> wave (but try other waves).
>
> sr = 44100
> ksmps = 8
> nchnls = 2
> 0dbfs = 1
>
> giSine	ftgen	0, 0, 8192, 10, 1
>
> instr 1
>
> iamp = 0.5
> ifrq = 300
> kfmfrq	line 150, p3, 600
>
> afm1	oscil	250, kfmfrq, giSine
> kfm1	oscil	250, kfmfrq, giSine
>
> asig1	oscil	iamp, ifrq + afm1, giSine
> asig2	vco2 	iamp, ifrq + kfm1
>
> 		outs	asig1, asig1
>
> endin
>
> 
> 
>
> i 1 0 10
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/FM-mod-like-MIniMoog-tp5730381p5730386.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>