[chuck-users] fm?
Adam Tindale
adamtindale at hotmail.com
Wed Mar 8 22:14:53 EST 2006
You don't learn anything if you don't ask! There are a lot of great
example patches that come with ChucK to help you learn. There is a
lot of other great work posted on the ChucK wiki.
http://wiki.cs.princeton.edu/index.php/ChucK
If you would like to learn about DSP or sound synthesis then you
could start with Perry Cook's book called Real Sound Synthesis for
Interactive Applications. It is a great start. There is also
musicdsp.org.
Good luck on the journey.
--art
On 8-Mar-06, at 6:16 PM, eun.sung at no-log.org wrote:
> hi
> thank you very much for this support.
> i'm sorry cause i'm not really...hm..."skilly" in audio synthesis
> nor in
> dsp. i used to noise with commercials software but i'm really
> enthousiast
> with chucking.
>
> thanks
>
>> Hi!
>>
>> Graham is right. FM is an abstract base class for all the STK's
>> FM-based instruments. We will fix it to gracefully report error
>> without crashing in the upcoming release.
>>
>> There are several ways to do FM synthesis in ChucK. A
>> straightforward
>> approach is to move along in time, possibly every samp, and
>> modulate the
>> carrier in any way you like:
>>
>> // carrier
>> sinosc c => dac;
>> // modulator
>> sinosc m => blackhole;
>>
>> // carrier frequency
>> 220 => float cf;
>> // modulator frequency
>> 550 => float mf => m.freq;
>> // index of modulation
>> .5 => float index;
>>
>> // time-loop
>> while( true )
>> {
>> // modulate
>> cf + (index * mf * m.last()) => c.freq;
>> // advance time by 1 samp
>> 1::samp => now;
>> }
>>
>> Hope this helps!
>>
>> Best,
>> Ge!
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list