What is the predicted effect of: SinOsc s1 => SinOsc s2 => dac; ? I was expecting some form of FM, but instead I'm met with stony silence (*). I understand that the .op parameter controls how the input to a UGen is interpreted, but I don't see any documentation on the effect of chucking to a SinOsc input. If the real answer "go read Ge's thesis", I can handle that, but I was hoping for more instant gratification. Thanks in advance... - Rob (*) Of course, I've also initialized gains and frequencies to reasonable values. The full code is: SinOsc s1 => SinOsc s2 => dac; 330.0 => s1.freq; 1.0 => s1.gain; 440.0 => s2.freq; 1.0 => s2.gain; 1::second => now;
the output of s1 is between -1 and 1. look at ugen Step... and also
the examples/basic folder, which has this:
// actual FM using sinosc (sync is 0)
// using Offset
// modulator to carrier
SinOsc m => SinOsc c => dac;
//will sum with m
Step o => c;
// carrier frequency
220 => o.next;
// modulator frequency
20 => m.freq;
// index of modulation
200 => m.gain;
// time-loop
while( true ) {
0.5428::second => now;
//<<
What is the predicted effect of:
SinOsc s1 => SinOsc s2 => dac;
? I was expecting some form of FM, but instead I'm met with stony silence (*).
I understand that the .op parameter controls how the input to a UGen is interpreted, but I don't see any documentation on the effect of chucking to a SinOsc input.
If the real answer "go read Ge's thesis", I can handle that, but I was hoping for more instant gratification.
Thanks in advance...
- Rob
(*) Of course, I've also initialized gains and frequencies to reasonable values. The full code is:
SinOsc s1 => SinOsc s2 => dac; 330.0 => s1.freq; 1.0 => s1.gain; 440.0 => s2.freq; 1.0 => s2.gain; 1::second => now; _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
dan: ah - of course. jc should revoke my license to modulate. a simple fm (strictly speaking, phase modulation) might look like this: SinOsc m => SinOsc c => dac; c.sync(2); // use phase modulation 330.0 => m.freq; 200.0 => m.gain; // modulation depth 440.0 => c.freq; 1.0 => c.gain; 1::second => now; thanks. - rob
participants (2)
-
Daniel Trueman
-
Robert Poor