Forums > MaxMSP

polybuffer~ length


ulv
March 26, 2014 | 6:37 pm

Dear list!

Is there a way to set the global size of all buffers associated with a polybuffer~?


March 26, 2014 | 7:15 pm

I think you’d have to iterate over them, and use the send message to address each buffer.



ulv
March 27, 2014 | 2:53 am

Not a bad idea! Thanks, Chris!


March 27, 2014 | 5:38 am

can you address all teh buffer~ commands to each buffer in a polybuffer~ ? Like (fill sin 1) or (crop $1 $2) (i’m trying to remember the syntaxes randomly but surely youg et the idea ?..) ? i didn’t find it in the ref or helpfile, maybe i overlooked it ?


March 27, 2014 | 12:02 pm

Have a look at the send message. You can send any message to the buffer~ objects.



ulv
March 27, 2014 | 2:13 pm

Yup.
Loadbang -> "send 0 sizeinsamps 1000" still does not return size of 1000 for the buffers.
<code>

– Pasted Max Patch, click to expand. –

</code>


March 27, 2014 | 9:35 pm

Works for me.

<code>

– Pasted Max Patch, click to expand. –

</code>


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