max.numbox to map to ableton device?

Matthew Underwood's icon

This may be a dumb question. I am able to map my midi controller to control a
max.numbox. Is it possible to have a max.numbox mapped to control an ableton device?
I basically want to get some of the numbers in max out and to automate ableton devices.
I was not able to find an answer, I know there are macros, but I don't think that's it.

My patch is I have an oscillator pitch tracking the incoming audio signal.
I wanted to map that number (frequency) to control different parameters of devices in Ableton.

Thanks

Jan M's icon

If I understand you right there are two different thing you are speaking about.

1.) You can't map [number] or [flonum] directly to your MIDI controller with the Live MIDI mapping. But you can do so with with [live.numbox] (and any other [live.*] ui obbject).

2.) You can control Live parameters with M4L. Check out the [live.path], [live.object] and [live.remote~] objects as well as the LOM (Live Object Model) in the Max Documentation to get stated on this.

Cheers

hz37's icon
Max Patch
Copy patch and select New From Clipboard in Max.

If you don't want to go the max-for-live route, you can still output MIDI data from max and have Ableton Live listen and respond to it. The midiout object is your friend here. You can turn your max number into a CC message and output it for instance to "From Max 1". Then, in Live (Preferences - MIDI Sync) enable Track and Remote at Input: From Max 1 (see image). When you go into MIDI mapping mode, your CC from max will map to the selected control in Ableton Live.

Screen-Shot-2014-10-14-at-11.57.31.png
png
Jan M's icon

If you simply want to record and playback the value changes automation you don't need to do any "magic" the [live.numbox] can do all that. just place one inside your device and make sure that in the object inspector the Parameter visibility is set to 'Automated and Stored'. That's it.

Regarding the part of your question why the playback of the automation gets disabled: That's a Live feature: If the value of an automated parameter is is changed by something else than the recorded data automation gets disabled.

Matthew Underwood's icon

Great replies, thank you. This helped me figure out the path names too.
http://www.maxforlive.com/library/device/1293/getlivepath