Forums > MaxMSP

waveform~ constantly redrawing

June 7, 2009 | 1:03 pm

i want to use poke~ and count~ in a patch but since my solution keeps writing zeros at sample index 0 when stopped it makes waveform~ flicker. (at least this is what i think happens..)
so, is there a way to turn off waveform~’s auto-updating when writing to the buffer?
please have a look at my simple test patch below.

i remember using similar techniques in MaxMSP 4 without flickering btw.

thanks!
/mattias

– Pasted Max Patch, click to expand. –

June 7, 2009 | 1:22 pm

i noticed this recently also

i made a work around that used gate~ to close the sample index input


June 7, 2009 | 1:32 pm

but did that really work? because even a closed gate~ will also put out zeros when the signal network is running, right?
it doesn’t do it for me anyway..


June 7, 2009 | 1:41 pm

works fine here

– Pasted Max Patch, click to expand. –

also, i don’t think gate works like that, it shouldn’t output anything when closed


June 7, 2009 | 1:55 pm

thanks, but it’s still the same thing you know..

try this:

– Pasted Max Patch, click to expand. –

June 7, 2009 | 2:01 pm

i’m not so sure, i think snapshot will send an output every time it updates anyway

in any case, it doesn’t re-draw with the patch i posted on my machine Smile


June 7, 2009 | 2:06 pm

you could use the buftime message to control update rate of waveform~ in ms.


June 7, 2009 | 2:17 pm
volker b�hm wrote on Sun, 07 June 2009 16:06
you could use the buftime message to control update rate of waveform~ in ms.

ah.. ‘buftime 0′ is the solution. thanks!


June 7, 2009 | 2:57 pm
Quote:
ah.. ‘buftime 0′ is the solution. thanks!

hm, the smaller the update interval the higher the cpu load.
this is not indicated in dsp status, by the way. use e.g. activity monitor or top (mac) to check the cpu load of max.

a value of 350 works well here for permanent update.
or you might like to set it really high if you don’t want it to update…


June 7, 2009 | 3:13 pm

yes, i just realized that. my first thought was that ‘buftime 0′ meant "off".. stupid me. Smile


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