<div dir="ltr">Hi Seb (and Chris!),<div><br></div><div>Implementation of classes is a bit beyond me atm (willing to learn though:).</div><div><br></div><div>If there's a walkthrough I'd be happy to get involved, though I'm aware it would take more time to set up a tutorial than to just implement them. Always happy to help with testing if that's helpful.</div><div><br></div><div>[cos~] would be super-useful, as would [env~] or is there a WebPd-Vanilla equivalent I'm not getting?</div><div><br></div><div>Appreciate you guys getting involved, nice one.</div><div><br></div><div>Regards,</div><div><br></div><div>Julian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 August 2015 at 06:35, s p <span dir="ltr"><<a href="mailto:sebpiq@gmail.com" target="_blank">sebpiq@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div>>  Only [osc~] is a signal generator, and [cos~] the raw 'lookup'<br><br></div></span>Oh right! Makes sense ...<br><div><br>I believe [cos~] and [abs~] could both be implemented by using Web Audio API's WaveShaperNode. The closest example is [clip~] implementation which you can find here : <a href="https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892" target="_blank">https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892</a><br><br></div><div>[wrap~] on the other hand can't be implemented :'( or it could, but with a ScriptProcessorNode, which means it would be slow, and I don't want to go into doing this for the moment...<br><br></div><div>As Chris suggested, I'd be super happy to get a pull request (with tests) ... if you feel that you can pull it, otherwise I can do it.<br><br></div><div>Cheers<br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On 24/08/15 22:03, Julian Brooks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What I do think from the hints and suggestions given is that I've got<br>
enough to be getting on with to make something approximately close and<br>
hopefully interesting.<br>
</blockquote>
<br></span>
You could also implement cos~ in WebPd and submit a PR to seb. Here are osc~ and phasor~ for your reference:<br>
<br>
<a href="https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90" rel="noreferrer" target="_blank">https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90</a><br>
<br>
Cheers,<br>
<br>
Chris.<span><font color="#888888"><br>
<br>
-- <br>
<a href="http://mccormick.cx/" rel="noreferrer" target="_blank">http://mccormick.cx/</a></font></span></div></div><div><div><br>
<br><span class="">
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</span></div></div></blockquote></div><br><br clear="all"><span class=""><br>-- <br><div><div dir="ltr"><span style="color:rgb(153,153,153)"><b><span style="color:rgb(68,68,68)">S</span><span><span style="color:rgb(68,68,68)">ébastien Piquemal</span><br></span></b></span><div><span style="color:rgb(153,153,153)"><b><br></b></span><span style="color:rgb(102,102,102)"><b> </b><span style="color:rgb(204,204,204)">-----</span><b> <font size="1">@sebpiq</font></b></span><br></div><div><span style="color:rgb(102,102,102)"><span style="color:rgb(204,204,204)"> -----</span><b> </b><font size="1"><a href="http://github.com/sebpiq" target="_blank">http://github.com/sebpiq</a></font><b><br></b></span></div><span style="color:rgb(102,102,102)"> <span style="color:rgb(204,204,204)">-----</span> <font size="1"><a href="http://funktion.fm" target="_blank">http://funktion.fm</a></font></span><br></div></div>
</span></div>
</blockquote></div><br></div>