On 06/04/2017 12:35 AM, Alexandre Torres Porres wrote:
Yes, that is correct. IIRC, doesn't cyclone have some oscillators that work that way as well?
It seems that when you have a phase input to SinOsc, it'll only consider that input and disregard any frequency input, is that possible?
Phasor p => SinOsc osc => dac;
440 => p.freq;
// 440 => osc.freq;
1 => osc.sync;
4::second => now;
In the above code, I have a Phasor driving the oscillator, and the same result as if I had a SinOsc with the same frequency as the Phasor's frequency...
Now, if I uncomment the line "// 440 => osc.freq;", nothing changes! As if the frequency input is anuled or something.
Going back to cycle~, the two input are valid, and the result is that the output frequency is 880 hz (the sum of both inputs).
Now, that makes phase modulation extremely trivial and simple with cycle~
I know I'm close to doing it in Chuck, If uncommenting that line in the code did work, I'd be done with it, but I'm stuck...
Is it really impossible to set both a frequency value and a phase input from another Unit Generator?
If not, then adding a signal to the Phasor output has got to do the job. But how can you do that?
cheers