preset storage

Feb 3, 2013 at 6:11am

preset storage

Greetings. i have written here before looking for some help, and got a little ways, but am feeling stuck < I am relatively new to this and need something fairly simple. , I need a 64 slot memory storage that I can cycle through starting at A1 to D16. (a1, to 16, b1 to b16, c1 to c16 and d1 to d 16)
I would like to be able to cycle through these forwards and backwards manually with the press of a button (forward or backward).
Also I need to be able to output those values A1 through D16 (as described above) on some kind menu or screen so users know which preset is being used.

I have run into numerous issues I don know how to deal with.. if anyone could please help me build this, I would be grateful.
Thanks

Mikee

#66326
Feb 4, 2013 at 10:52pm

So what did you try and where did it fail?

#238731
Feb 4, 2013 at 11:06pm

As always, you’re going to get way better feedback if you show us your work. In the whilemean, you could take a look at this series of pattr tutorials at

http://cycling74.com/2011/06/02/pattr-1-quick-start-tutorial/

and investigate some low-level Max objects (incdec, counter) and the umenu’s scrolling mode (see under the “more about menus” tab in the umenu help file).

#238732
Feb 4, 2013 at 11:12pm

here’s a start for you regarding umenu in scrolling mode:

– Pasted Max Patch, click to expand. –
#238733
Feb 5, 2013 at 4:02am

ok i have something to share, but I have forgotten how to upload the code. How do I export that for you to have a look at?

thanks for replies

#238734
Feb 5, 2013 at 5:55am
#238735
Feb 5, 2013 at 7:59am

ok thanks, here it is. There are a few notes inside that describe the problems.

– Pasted Max Patch, click to expand. –
#238736
Feb 5, 2013 at 8:49am

you’ve uploaded the wrong patch

#238737
Feb 5, 2013 at 9:24am

sorry .. I copied over the one I made, so i had to re do it.. so much work!

Ok try this:

– Pasted Max Patch, click to expand. –
#238738
Feb 5, 2013 at 11:02am

here’s a way of doing what you want– you need to isolate the preset object from the menu object and the (new) control buttons. the red patch cords do this. Note the use of the inc-dec object allows the use of cycling through forwards or backwards– you could have done this with buttons too but this is easier. also use the rightmost outlet of the preset object let other objects know a preset has been stored

– Pasted Max Patch, click to expand. –

btw if you don’t want the ‘S’ placeholder in the menu just subtract 1 from the output of preset object and change the conditionals to 0 and 63

#238739
Feb 5, 2013 at 8:34pm

Thank you so very much this all seems to work just as I need it to! The only issue I have is that the buttons used are not midi mappable. Is there an easy way to replace those without messing the whole thing up? The Up & Down buttons I had in the previous version had some sort of wiring I dont understand, but they were midi mappable which is what I need.

#238740
Feb 5, 2013 at 9:42pm

i’m not sure what you mean by midi mappable– all objects are able to be mapped to or from midi in max. but if you want to use a live.object, just use these buttons with inc and dec:

– Pasted Max Patch, click to expand. –

note I changed the message boxes’ triggering from last patch (my error)

#238741
Feb 5, 2013 at 10:55pm

thank you! just wondering what you meant about the last part about ‘message boxes’ triggering from last patch’ I didnt notice anything strange or different in this code, other than the buttons being replaced.

you are so awesome for helping , thanks again!

#238742
Feb 6, 2013 at 12:16am

sorry double post

#238743
Feb 6, 2013 at 1:09am

no worries just trying to build up a bit of good karma…
the message boxes with ‘set 64′ and ‘set 1′ in them are preceded by a trigger object [t b b] and I’d connected the wrong outlets of these to the recipient objects, so i just swapped them, (and deleted the deferlow objects required to stop it crashing)– anyway works now

#238744

You must be logged in to reply to this topic.