Mubu~/imubu with polybuffer~

#1

Hello,

How can I use mubu~/imubu in conjonction with polybuffer~ ?
I would like to preload a collection of sounds (into the polybuffer) and to switch from one soundfile to another quicky to play with mubu.concat on one soundfile or the other.

Thanks a lot
Roland

#2

Hello Roland,

I am using imubu with a polybuffer containing 100 buffers. You can probably find the matching attributes, but in my case I send messages to achieve the connection with my polybuffer~. You set the name of the imubu to be the one of the polybuffer~ (ex: send a message “name my_polybuffer”). Then you send “numbuffers” with the number of buffers contained in your polybuffer. Use the “bufferindex” message to switch from one buffer to another.

I hope this helps.

#3

Thanks a lot Roald
here is an example


----------begin_max5_patcher----------
2497.3oc6aksaiajE8Y6uBBh4QElZeIOkAymv7XPCCJpRxLMEo.Wbamfze6y
s3lHEojKKQqLIHFn0BKp5tctqE6e+wG7Wm8pov26m79EuGd32e7gGpuj8BOz
98G72G9ZTRXQ8s4GkseuIszeUyZklWKqu9+MJOKIwKpJuHKua0CgkQOGmt6o
bSTYCUXZbfBg4HgPqvTLWfW4Qjr.JRgQRpTfzJAktxSxCPvRn.j2WZ2uzp8w
oIlxZVAe7hYUkcWE0d03M0rU15e8GDBe609iGez9xpaTPKLIfv3stZ6VykDT
Mql8oh.kVyPDgDDahho.IisTRF6Zjr8lhhvclIRFFeAwAq3ATJVPzbIinUJt
1JB5.PBERtffPRMhAFSNpV5HmS5HyJc3oRGW0wOM2W4aGLMLiuu2WVPAGto3
8U689WWRAvnADAhfDDEASUJByJ+h.AhwXfJgwvXoDtnTtTxuXgk+Ty2f8ch3
mjEtYcX5tKY8E3.NBozLFQRzZNHf7.hlRYbMQg0fJAvCb0kEcrqhNSeVQulS
WRw+Pt4fIci2grh3x3rzKnFD5.JSBJCMSITHkDblYJPbYDrRnwbkjwTfOfVt
TJB08ACjCau48idOqBfSBjPbAjji3HJ25BPuFW.xLhO+7h+pkNLPiz6IvbV.
gQDb5k7Hzz.lfRvHkBjbA8LpBLluPgCXr6W3.qJxCiPcKtMKsLMbeM87+24w
gIWP0Pg7aD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