real time adjustable amplitude windowing

WPPK's icon

Hi. I would like to create an amplitude window with it's type and size being adjustable in real time. kind of like an audio gate effect or the sequencer gate length. I would like to use it as an effect but also to remove pops between randomly and rapidly read audio files. I was looking into the wave~ / buffer~ method, but i am not sure how to implement the real time control aspect. Are these objects the best way to approach this or is there a better way? I'm just looking for a nudge in the right direction so any help is greatly appreciated!

Thanks for your time and attention.

wppk

jvkr's icon

This method does a non linear scaling on the domain and range. Because of two pow~s it might be to heavy to use multiple instances. With poke~ it is possible to refresh the buffer in realtime.

_
johan

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

WPPK's icon

Thank you so much for your replies. By real time adjustable I just meant that I want to adjust the window size in real time not necessarily the actual window.

I'm not home right now so I'll have to check out your examples when I get there.

Thanks for taking the time to post them.

WPPK's icon

Johan, when you say that it may be too heavy for multiple instances
because of the pow~s do you mean that those objects are cpu intensive?