Forgot to make sure this one was sent to the list....
Sorry...
------ Forwarded Message
From: Michal Seta <mis(a)music.mcgill.ca>
Date: Sat, 11 Aug 2001 01:49:27 -0400
To: Nicolas Lhommet <nlhommet(a)netcourrier.com>
Subject: Re: [PD] can one osc~ read several partials?
On 8/10/01 8:49 PM, "Nicolas Lhommet" <nlhommet(a)netcourrier.com> wrote:
> I can't find any tabosc~ object in pd. Is it an external ?
> I would like to play waveforms instead of a sum of oscillators. Should i use
> tabreceive~ ?
Sorry, I couldn't look it up and my memory sometimes chops a few bits off
stuff. I meant tabosc4~ (look in <pd_doc>/5.reference)
Also I said:
"[snip] send an array a message along the lines of 'sinusoid' with a bunch
of parameters [snip]". I meant sinesum or cosinesum (same help patch).
> Another related question: we got the osc~ object for a cosine oscillator,
> phasor~ for a sawtooth oscillator. But i'd like to use triangle, square or
> pulse oscillator too. What is the best way to generate such waveforms in pd
> and use them at any frequency ?
That's a little trickier. Create an array and feed it the file I attached
for triangle/square. Use soundfiler with -resize switch to adjust the table
size for the triangle/square to fit in well. And there you go with your
triangle and square wave generator using tabosc4~.
Ah, and check <pd_doc>/3.audio.examples patch 09.pulse.spectrum.pd and
11.pulse.width.mod.pd for some examples of using pulse. Probably not
exactly what you're looking for but it's a nice way to generate an array
filled with pulses to your liking.
Cheers
./MiS
============================
"To be is to do" - Socrates
"To do is to be" - Sartre
"Do be do be do" - Sinatra
"Just do it!" - NIKE
"It" - Stephen King
------ End of Forwarded Message