[PD] wave morphing
claudiusmaximus at goto10.org
Sun Jan 14 16:01:37 CET 2007
Malte Steiner wrote:
> I didnt looked into your patch yet but usually these waveforms are
> stored in one table as one sample. Your tabread object should run
> through one waveform at a time, I have to look up how much bytes they
> are but assume 256, so it runs from 0 to 255 and to switch to another
> waveform you add n*256 where n is the waveformnumber. When you switch
> with a line object over several waveforms, you get the wonderful crude
> ppg sound but you should make sure that it goes only whole numbers
> without fractions so it really jumps a whole waveform each step. It can
> be done by sending the moving number through an int object.
Here's a patch that does exactly this. 256 waveforms each 256 samples long.
When writing it I found a bug in wrap~ in pd-0.40-2 from Miller's site:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Pd-list