Hallo, julien.breval@tremplin-utc.net hat gesagt: // julien.breval@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.
Frank Barknecht _ ______footils.org__