Forums > Max For Live

counter problem in a random sample player

March 11, 2013 | 3:24 pm

Hi. I’ve made this random sample player to use in max for live, for a friend. I’ve got a problem with a counter object when it’s run in ‘loop sequential mode’ : instead of starting at 0, the counter resets at ‘-1′ so it will play the last sound of the menu twice. Other modes non looped seq, and looped and non looped random seem to work fine.
I had a hard time building the logic of the loop on / off setting so that should not be the most simple option… Also, I can’t find how to save the sample folder with a set using pattr family objects with preset.
I guess that’s a simple one, but sometimes, you can lose focus on simple things…

– Pasted Max Patch, click to expand. –

March 11, 2013 | 5:21 pm

random-minmax abstraction is missing

March 11, 2013 | 5:25 pm

starts at 0 here…

March 11, 2013 | 6:52 pm

I’m on mac 10.8.2, max 6.08 Live 8. Did you find the abstraction ? Can’t remember if it was 3rd party…

March 12, 2013 | 6:48 am

Did you try it with max 5 or 6 ? For me in max 6, starts at 0 but as soon as it loops, it will start at -1.

March 13, 2013 | 7:10 am

MIB, can you confirm that this works for you ? As I wrote above, first pass is ok then, as soon as it loops, the min is set at -1.

March 17, 2013 | 10:35 am

Anyone ?

March 17, 2013 | 6:23 pm

sorry, been busy…
It works as expected for me if I bang the counter directly…

March 18, 2013 | 7:14 am

Thanks to care. What is your OS ? It was confirmed by my friend who works with 10.6.

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