<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-06-04 4:16 GMT-03:00 Jean Menezes da Rocha <span dir="ltr">&lt;<a href="mailto:jean@menezesdarocha.info" target="_blank">jean@menezesdarocha.info</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Alexandre,<div><br></div><div>I have translated a PD patch (see the last graph on <a href="http://pd-tutorial.com/english/ch03s06.html" target="_blank">this page</a>) and it is modulating AND responding to frequency changes. </div></div></blockquote><div><br></div><div>cool, but we&#39;re not in fact using a frequency input here. It&#39;s more having a carrier phase signal plus a modulating signal. Just saying it cause I still would like a definitive word on an oscillator being able to set both frequency and phase. I&#39;m really curious about it now.</div><div><br></div><div>Moreover, this code seems a little more complicated than I expected. There&#39;s gotta be an easier way.</div><div><br></div><div>The thing with the Pd patch is that Pd Vanilla&#39;s [osc~] does not have a phase input, so it is not using the input on an oscillator in order to modulate its phase, but a cosine function - [cos~]. It&#39;d be much simpler if you used an external like [cycle~]. If you used the right inlet of [cycle~] instead of [cos~], you&#39;d get the same result.</div><div><br></div><div>Since SinOsc in chuck has a phase input, you do not need to use a cosine function like the Pd patch, but just sum the phasor and the oscillator and then feed it to the phase input (sync = 1).</div><div><br></div><div>That oughta simplify things a lot.</div><div><br></div><div>Even more simple would be if SinOsc could take a frequency input and also accept a signal to modulate it&#39;s phase input. Then you wouldn&#39;t need a phasor as the carrier signal, just a frequency value. But that is out of question, huh?</div><div><br></div><div>cheers</div></div></div></div>