Forums > MaxMSP

osillator~ interpolation buffer

January 6, 2011 | 5:51 pm

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

– Pasted Max Patch, click to expand. –

January 7, 2011 | 8:48 pm

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.


January 8, 2011 | 1:23 pm

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


January 8, 2011 | 2:18 pm

wave~ ?


January 12, 2011 | 5:30 pm

Good way !!! thanks

f


Viewing 5 posts - 1 through 5 (of 5 total)