MIDI into Max with Livid Ohm64 controller

Dec 10, 2011 at 10:26pm

MIDI into Max with Livid Ohm64 controller

hi

i’m building a sample-player patch that i’d like to control with my ohm64 controller.

i’m new to working with incoming midi data in max, and was hoping someone could give me a few tips on how to do the following:

the main 64-button grid will be used to select samples for playback. just one at a time for now. i’d like the button corresponding to the currently playing sample to remain lit up until i select another one. so i’ll need to send a note on message to the ohm64 when i push a button, so that it lights up, and then when i select another button the previously pressed one should go out again. and the new one on, of course.

at the moment i’m trying to figure out how to automatically switch off the previously pressed button when i press a new one. does anyone have a tip for that maybe?

my ohm64 input-patch so far is pasted below. at the moment it’s only four faders controlling playback volume, the matrix for choosing a sample, and a primitive playback speed control.

another questions, also about the data coming out of the notein object: what would be the best way to filter/distribute note on messages from the other buttons on the controller? these are controllers 65 to 81.

is there an object that allows me to specify ranges to pass through? for example “if the number is between 1 and 64, send out this outlet”, “if the number is 65, send here” etc?
my impression is that route doesn’t allow me to specify a certain range to pass through?

many thanks for any hints!

– Pasted Max Patch, click to expand. –
#60607
Dec 10, 2011 at 11:22pm

split lets you divide a stream of numbers into ranges.

I’m not in front of my block right now, but there are many ways to achieve the only one button on at a time thing.

In general, building in deep, stateful, control of a complex patcher using something like the block/Ohm is a chunk of work.

– Pasted Max Patch, click to expand. –
#218116
Dec 11, 2011 at 12:13am

chris,
many thanks for those suggestions!

i can’t get the buttons to light up and then switch off again when another one is selected with your patch yet, but i’ll try tweaking it. i haven’t used any of those objects you just introduced me to yet.

yeah, i realize this is gonna be a fair amount of work, but i think it will be worth it ;)

i’ve never had a comprensive midi controller like this, so after a few years of mousing around this is exciting to me.

#218117
Dec 11, 2011 at 1:21am

I didn’t actually try that patch, but I will next time I’m in the studio.

#218118
Dec 11, 2011 at 8:03pm

This one works:

– Pasted Max Patch, click to expand. –
#218119
Dec 12, 2011 at 2:00am

that works great, thank you VERY much

i’ll go over the patch part by part to make sure i understand what’s going on

i’d be interested in seeing other examples of what ohm/block users are doing with their controllers within max. once i’m done with the midi control elements of my sampler patch i can share that if anyone’s interested.

#218120
Dec 12, 2011 at 2:52am

I have fairly deep block support in my Gyre step sequencer-ish thingie.

#218121
Dec 12, 2011 at 3:51am

that looks amazing!

if i may ask for another tip, would you have any hints on how to map the buttons below the faders to “startloop” and “stop” messages to send to groove~ objects maybe?

i’m trying to turn these buttons into simple transport start/stop toggles, where the button stays lit as long as the groove~ is playing, and then turns off when i push it again.

making one button on a midi controller switch between two functions (in this case “stop” or “startloop”) depending on the current status of the patch is something i’m trying to wrap my head around at the moment.

thanks again

#218122
Dec 12, 2011 at 7:16am

This sort of support should probably be done in a series of abstractions, but maybe this will give you some ideas.

– Pasted Max Patch, click to expand. –
#218123
Dec 12, 2011 at 8:02am

@shaar: I’ve been using an Ohm64 for a little while now, mainly for quick controller assignments but I did build a little drum machine that works specifically with the device recently. The patch is a mess but once my computer’s back out of a box (new home) I’ll put it up. It makes use of some of the things you’ve talked about here (although I haven’t read the whole thread) such as toggled button lights and blinking lights for sequencing steps.

Ace controllers aren’t they? I wish I’d waited for the new design of the Ohm though, mine doesn’t look as cool in comparison!

#218124
Dec 13, 2011 at 5:17am

@ chris muir, many thanks for the patch! will go over it tomorrow morning when my mind is fresh(er) and report back.

@ dickmedd, please do. would be interested in seeing how others use it.

i also am very impressed with the machine so far. first time i’m using a comprehensive midi controller that combines buttons, dials and faders and it’s been really inspiring to play with the past few days.

#218125

You must be logged in to reply to this topic.