counter problem in a random sample player

Mar 11, 2013 at 3:24pm

counter problem in a random sample player

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. –
#67013
Mar 11, 2013 at 5:21pm

random-minmax abstraction is missing

#241208
Mar 11, 2013 at 5:25pm

starts at 0 here…

#241209
Mar 11, 2013 at 6:52pm

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…

#241210
Mar 12, 2013 at 6:48am

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.

#241211
Mar 13, 2013 at 7:10am

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.

#241212
Mar 17, 2013 at 10:35am

Anyone ?

#241213
Mar 17, 2013 at 6:23pm

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

#241214
Mar 18, 2013 at 7:14am

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

#241215

You must be logged in to reply to this topic.