Forums > MaxMSP

Changing tempo of Logic from Max/MSP

July 3, 2007 | 3:21 pm

Hi,

Does anyone know how change the tempo of Logic from Max via Midi messages? Both what to send from Max and how to set up Logic to receive it.

I’ve had a look at the sync~ object which looks like it’s sending Midi pulses (is that Midi Time Code) but haven’t managed to sync up Logic to it yet.

Perhaps post a patch/logic arrangement here if you have one??

Many thanks,
Andrew


July 3, 2007 | 3:30 pm

maybe look into the rewire object? I know logic supports rewire and so does max


July 3, 2007 | 4:26 pm

Thanks for your reply.

I do think rewire may work – it does with Ableton Live but at present I can’t get it to communicate with Logic.

Also, I’m trying to avoid it as I’d rather have the usual audio drivers working in Max than have to use ad-rewire. However, any tips on this would still be really appreciated.


July 4, 2007 | 1:20 pm

Has anyone had any experience of doing this?
I’m presently changing tempo of Ableton Live using the Midi map directly. From what I can gather, a bpm rewire message could do much the same thing.
But how about Logic or Reason? Can you communicate to them via Midi or Rewire?


July 4, 2007 | 2:48 pm

you can use the tap-tempo key command and change it into a midi command (note-number) and send the corresponding note by max via the internal midi-routing. Should work.


July 4, 2007 | 4:14 pm

you could build a patch which sends either midiclock or mtc to logic and control it with the metro-object.

you could try reversing this patch here.

i don?t know if that would work though.

max v2;
#N vpatcher 116 342 390 673;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#N coll fps 1;
#T flags 1 0;
#T 0 24.;
#T 1 25.;
#T 2 29.97;
#T 3 30.;
#P newobj 199 227 50 196617 coll fps 1;
#P newex 12 202 31 196617 & 31;
#P inlet 12 29 15 0;
#P newex 12 69 47 196617 unpack;
#P newex 12 49 68 196617 match 241 nn;
#P comment 198 276 23 196617 fps;
#P outlet 199 252 15 0;
#P newex 199 204 29 196617 >> 5;
#P newex 162 153 24 196617 < < 4;
#P outlet 162 252 15 0;
#P comment 151 276 39 196617 frames;
#P newex 162 175 35 196617 +;
#P newex 112 153 25 196617 < < 4;
#P comment 100 276 44 196617 seconds;
#P outlet 112 252 15 0;
#P newex 112 175 35 196617 +;
#P newex 62 153 25 196617 < < 4;
#P comment 49 276 44 196617 minutes;
#P outlet 62 252 15 0;
#P newex 62 175 35 196617 +;
#P newex 12 153 25 196617 < < 4;
#P comment 4 276 31 196617 hours;
#P outlet 12 252 15 0;
#P newex 12 175 35 196617 +;
#P newex 12 131 213 196617 route 7 6 5 4 3 2 1 0;
#P newex 12 111 47 196617 pack;
#P newex 49 91 31 196617 & 15;
#P newex 12 91 35 196617 >> 4;
#P window linecount 2;
#P comment 115 31 100 196617 parses raw midi timecode;
#P connect 26 0 24 0;
#P connect 24 0 25 0;
#P connect 25 1 1 0;
#P connect 1 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 8 0;
#P connect 8 0 5 0;
#P connect 5 0 27 0;
#P connect 27 0 6 0;
#P connect 4 1 5 1;
#P connect 25 1 2 0;
#P connect 2 0 3 1;
#P connect 4 2 12 0;
#P connect 12 0 9 0;
#P connect 9 0 10 0;
#P connect 4 3 9 1;
#P connect 4 4 16 0;
#P connect 16 0 13 0;
#P connect 13 0 14 0;
#P connect 4 5 13 1;
#P connect 4 6 20 0;
#P connect 20 0 17 0;
#P connect 17 0 19 0;
#P connect 4 7 17 1;
#P fasten 5 0 21 0 17 197 204 197;
#P connect 21 0 28 0;
#P connect 28 0 22 0;
#P pop;


July 4, 2007 | 4:31 pm

the easiest way would be to go to the enviroment in logic,create a tempo-fader and control it via midi from max by building a fader or dial and sending the resulting output to logic. u could use a "midi patchbay"
cheers!
:)


July 4, 2007 | 5:24 pm

Thanks for that.
I’ve created a tempo (fader>specials>tempo) in Environment (midi) and then have set it to pitch-bend. That seems happy with an input from Max/MSP. The only problem is that it only goes to integer tempos – strange..

If there is another way to do this, I’d still really appreciate someone posting here about it.

It’s part of a project I’m doing – search b-keeper on You Tube

or http://www.youtube.com/watch?v=RmUnNfP2MYo

I have to say, Ableton Live has quite an edge over Logic when it comes to integrating with something like Max.

Does anyone know if there is a way to have logic accept midi time code or something like that?

Cheers,
Andrew


July 4, 2007 | 5:34 pm

sure it accepts mtc.goto "file" > "song preferences" > "synchronisation" and choose "general" and then sync-modus=mtc. if you choose mtc trigger (with o. without auto detection) under "audio" then make sure you connect a word-clock to slave logic to.


July 4, 2007 | 6:14 pm

i guess you could try sending pure sysex to control the tempo.but you have to figure out how to send sysex from max ( i never tried ) and what u?ll have to send to change the tempo…(i dunno) :


Viewing 10 posts - 1 through 10 (of 10 total)