Hmmm, methinks that method works only for static sound. For applications with independent volume envelopes of the partials you'd have to think of something else.... the question is, whether the volume changes can be instantaneous (where a real oscillator bank has to be used) or can have some fixed granularity (then inverse fft is possible)
greetings, Thomas
----- Original Message ----- From: julien.breval@tremplin-utc.net To: "Ben Saylor" bensaylor@fastmail.fm Cc: "Tom Erbe" tomerbe@san.rr.com; PD-list@iem.at Sent: Tuesday, December 09, 2003 12:49 PM Subject: Re: [PD] efficient bank of sines
You could draw the spectrum in an array, send it to rifft~, and send the output to another array that you could use as a wavetable - something like
[tabreceive~ spectrum] | [rifft~] | [tabsend~ wavetable]
then
[phasor~] | [*~ <arraysize>] | [tabread4~ wavetable]
Yes, this is a good idea
just keep in mind that if you want to control graphically the amplitude of 500 partials (for example), the "spectrum" array / table must have a width of 500 pixels or more
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list