[PD] Function generator / Signal Generator expr~ and cycle~

Rick T ratulloch at gmail.com
Tue Sep 6 19:10:15 CEST 2011

Thanks I can get tabwrite~ to work but I'm still unsure as of how to wire in
the equation to create a custom waveform using expr~
pd <http://dl.dropbox.com/u/6576402/questions/pd/rtsiggen.pd>


expr~ $f1+sin*(($f2*$f3)+$f4)+$f5

a=$f1=amplitude, f=$f2=frequency, t=$f3=time, p=$f4=phase, v=$f5=vertical

Please note the equations will not just be a simple sinewaves they will have
cos, tan, atan,  I also plan on connecting the $f1,$f2,$f4,$f5 variables to
a usb midi controller to vary the values as the audio signal is played in


On Tue, Sep 6, 2011 at 5:46 AM, Mathieu Bouchard <matju at artengine.ca> wrote:

> On Tue, 6 Sep 2011, Rick T wrote:
>  I looked up in the example and found cycle~ which said "table-lookup
>> oscillator or function generator"
> cycle~ is just a Max/MSP-compatible version of osc~.
>  I would think it would go like this. but of course the syntax must be
>> wrong.
>> expr~ $f1+sin*(($f2*$f3)+$f4)+$f5
>> |
>> cycle~
> look into tabsend~ and tabwrite~ instead.
>  ______________________________**______________________________**
> ___________
> | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110906/1462fc73/attachment.htm>

More information about the Pd-list mailing list