editing the buffer window using a list: best way?

Jan 31, 2013 at 1:22pm

editing the buffer window using a list: best way?

hello

I want to control the buffer window (for controlling envelopes) using a list. What is the best way of doing this. I get semi-random values and need obviously 512 values to send to the editor. What is the best way to do this. using coll does not seem to work.

#66304
Jan 31, 2013 at 2:09pm

I think this should work however:
when the highest value (512) is reached, I want it to start writing from the beginning, so the old point1 gets replaced by a new point1 and so on but in the meantime the old points have to stay there. So I need to clear only 1 element at a time. How should I tackle that?

– Pasted Max Patch, click to expand. –
#238658
Feb 1, 2013 at 1:02am

Easy, “clear” followed by the index to remove. So “clear 0″ would remove the first point. It’s in the function reference doc.

#238659

You must be logged in to reply to this topic.