max/msp to ableton via rewire and midi
Hello everyone. I’m working on a project that includes loops in Ableton. However, after looking through the tutorials on this website and elsewhere, I can’t seem to find any instructions on how (or even if it’s possible) to control other functions in Ableton through values from Max i.e. controlling the BPM to within a certain number value or triggering other loops in multiple tracks all through events in Max. Any help would be greatly appreciated. Thanks in advance.
You can route MIDI from Max to Live (or vice versa) using IAC on the Mac. I can’t remember the Windows equivalent: MIDI Yoke?
you may want to check
and download – it controls BPM so that Ableton syncs to a live drummer.
Feel free to chop out the bits you need – e.g. setting the Midi port (make sure you have MaxMSP1 Remote ON in Ableton preferences)
also, I use pitchbend message for BPM
Any questions let me know..
Multi part answer:
To get basic rewire control, look at the rewire~ object.
That and IAC/MidiYoke’d midi is all you *really* need:
set up all actions you want in Live to respond to some appropriate midi CC or note msg.,,,
One can use OSC sent to Live calling the "LiveAPI" …
these calls are wrapped nicely in Python by the "LiveAPI" site:
but a quick look at the py files reveals that the underlying OSC calls are straightforward, and I see no reason they could not be sent directly from Max to Live via tcp/udp…the api looks very comprehensive: give it a look…(and don;t fear that they are written in python: it’s a very clear, nderstandable language, and the data will be clearly separatable from the language action.)
My recomendation: see if existing rewire functionality and midi can perform all you wish; by configuring the app’s midi response, you can do almost you could wish.
The osc calls are surely the rest of the equation…check out the LiveAPI : http://groups.google.com/group/liveapi
I’ve always found it simple to route Midi to Live without being aware of an IAC driver.
try sending note on e.g. [60 64] to 1st input of [midiformat] then to [midiout]
you need to click on Midiout to set `from MaxMSP 1"
then the Midi map in Ableton needs to be set – click on the Live button – switch back to Max – and send the message. Undo the Live midi map and your message should control that function.
(purely on a getting things to work level – the IAC and LiveAPI seem like good tools for interconnecting applications with Midi)