[PD] wavetables : tabosc4~ and tabsend~ compatibility problem

Frank Barknecht fbar at footils.org
Tue Jul 22 13:43:45 CEST 2003


Hallo,
julien.breval at tremplin-utc.net hat gesagt: // julien.breval at tremplin-utc.net wrote:

> A simple wavetable synth works with a [array] object and a [tabosc4~] object.
> The size of an [array] used with [tabosc4~] must be 2^N + 3 (any power of 2, 
> plus 3), for example 259.
> 
> I use a [tabsend~] object to fill the [array] continuously ; [tabsend~] writes 
> continuously a block of size specified in a [block~] object (for example 
> [block~ 256]
> Unfortunately, the size of a block must be 2^N (any power of 2, but less than 
> the size of the audio sound card buffer)
> 
> So I always get the last three values of the [array] unfilled ...

You probably also get clicks? In general it isn't very good to change
the array read by a tabosc4~ on the fly. A better solution might be to
drive a tabread4~ object by a phasor~ multiplied by the length of the
array. This way you also won't have problems with the different array
sizes. 

ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list