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~
http://dl.dropbox.com/u/6576402/questions/pd/rtsiggen.pd

http://dl.dropbox.com/u/6576402/questions/pd/rtsiggenpic.jpg

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

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

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 realtime.

Thanks



On Tue, Sep 6, 2011 at 5:46 AM, Mathieu Bouchard <matju@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