osillator~ interpolation buffer

florent colautti's icon

hi

i generate wave table on buffer whose are read on a bank of oscillator like Ioscbank.
i interpolate wave table to rewrite it on a peek~ object.
but ioscbank necessitate to reload the buffer: generate numerical clik, and interpolation don't be linear or have a good 'gliss'
i find oscillator~ by cnamat whose can do this (not necessitate to reload). but it necessary to have a buffer to 1496 ms (-> 65535 sample ----> like 44100 sampling rate) or the wave table whose i generate have 512 sample (11.6ms).
he's possible to create a wave table with 65535 but i don't find possibility to interpolate it. zl group can't make a list too bigger.
:(
i have test to convert the buffer to 11,6 ms for read on oscillator~ but not sound out.
for the oscillator~ object he's necessary to have a 65535 sample buffer.

i think maybe write the peek~ values on a jit.matrix for create a bigger list ? but maybe he's too fat ?

my problem he's to put the value on a list, or the sample length of the buffer

if anyone know an other object similar to oscillator~ (a bank of oscillator whose can read a buffer in continuous ) or an object whose convert 512 sample to 65535 ???

or an other idea......

this is a example patch

thanks
f

Max Patch
Copy patch and select New From Clipboard in Max.

mudang's icon

If you write and read from a buffer~ at the same time you will always get discontinuities or have to interrupt the playback for updating the buffer (like ioscbank).

I think the easiest solution would be to have one oscillator bank and one buffer for each waveform.
Then you can do the interpolation by simply mixing (cross-fade) the outputs of the oscillator banks.

florent colautti's icon

hi

i think this idea but i used 3 oscillator bank (XYZ) with continuous control value (frequencies and gain) from a 3d object in real time.
and this instrument he's include inside a bigger patch with other instrument...
if i do that it's necessary to duplicate all my parameters and necessitate more processing. i think the patch become too fat, and i run after cumputer ressourcing.
i can used "mute" control on a poly~ object for limited process but i don't find this way be the good.

i try it still

thanks
f

Roman Thilenius's icon
florent colautti's icon

Good way !!! thanks

f