Yes! Must have implemented them all a hundered times over by now and getting rather fed up of it.
I suggest the names
sqrosc~ (50% duty cycle standard square) sqrblosc~ (bandlimited square type) triosc~ (standard triangle) triblosc~ (bandlimited triangle) pwmosc~ (pulse width 0.0001 to 99.9999 duty) sawosc~ (sawtooth - just a 0 centered phasor) sawblosc~ (bandlimited saw) vstosc~ (vari-slope triangle, from sawtooth to inverse sawtooth) circosc~ (circle - square root of cosine) pulseosc~ (sin(x)/x pulse with variable width)
On Fri, 21 Dec 2007 12:43:17 -0800 Hans-Christoph Steiner hans@eds.org wrote:
There are a number of standard oscillators used in synthesis, I think it would be very useful to have a standard library of them. I think at this point there are already implementations of all of the oscillators that I can think of, what needs to be done now is to define a standard interface and naming scheme, and collect them into a standard library.
One question I have is whether they should all be bandwidth-limited, based on the current sample rate, or whether this library should have both versions.
Anyone interested in working on this? I think this would also be a building block for the standard synth lib that Ed is proposing.
.hc
¡El pueblo unido jamás será vencido!
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev