[chuck-users] Chuck-ing SinOsc inputs

Daniel Trueman dtrueman at Princeton.EDU
Thu Dec 31 17:40:04 EST 2009


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;
	//<<<o.last()>>>;
}


dt

On Dec 31, 2009, at 5:13 PM, Robert Poor wrote:

> 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20091231/298869be/attachment.htm>


More information about the chuck-users mailing list