Forums > MaxMSP

IAC timing OS X

June 14, 2007 | 3:27 am

I’ve heard that the IAC timing in OS X was terrible, and it seems to be true. Ive been trying to makes some sequences using a hostphasor~-bang patch that generates midi data with makenote –> noteout–>IAC into Logic 7.2 and its barely working.

I cant get over how bad the timing is. At first I thought it was max, but I did a simple test. I created a scheduler-triggered 100khz "blip" and set it to trigger at 64th notes at 175bpms. Using a rewire return, I recorded the output into logic. The sync was shifted slightly, but once I but the first moved "blip" into place, each little blip after that fell exactly on a 64th note in logic’s timeline.

However, if I do the same thing, except using hostphasor~ to trigger midi notes and send them over the IAC bus, the timing is so incredibly bad. The 64th note rhytm comes in little jittery bursts.

I was wondering if anyone had any experience working around this. I’ve tried finding 3rd party os x software to route midi but I haven’t found anything.

Here is my test patch to illustrate the problem-
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 250 163 53 196617 autopattr;
#X prestore duration 1 0 64.;
#X prestore length 1 0 15.;
#P objectname u430000004;
#P comment 15 298 80 196617 Terrible Timing;
#P newex 64 189 27 196617 + 1;
#P toggle 64 161 15 0;
#P newex 99 227 47 196617 gate 2 1;
#P user ezdac~ 301 546 345 579 0;
#P user gain~ 301 385 24 100 158 0 1.071519 7.94321 10.;
#P flonum 339 246 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname length;
#P newex 318 272 31 196617 float;
#P newex 318 324 32 196617 line~;
#P newex 217 299 67 196617 cycle~ 1000;
#P newex 301 350 27 196617 *~;
#P message 318 299 79 196617 1. 2. 1. $1 0. 2;
#P newex 99 336 66 196617 makenote;
#P newex 99 295 67 196617 unpack 0 0 0;
#P message 99 265 58 196617 60 120 15;
#P flonum 213 25 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname duration;
#P newex 213 56 31 196617 !/ 4.;
#P newex 136 176 36 196617 edge~;
#P newex 136 145 42 196617 ==~ -1;
#P newex 136 114 46 196617 change~;
#P newex 136 83 35 196617 rate~;
#P newex 136 52 65 196617 hostphasor~;
#P newex 99 377 123 196617 noteout a;
#P comment 407 302 64 196617 Good Timing;
#P comment 108 586 378 196617 Running Rewire Driver , overdrive and a low signal vector (i.e. between 1 and 64);
#P comment 62 398 192 196617 going to logic through "from MaxMSP 1";
#P comment 252 28 132 196617 64th notes @ 175 bpm 4/4;
#P comment 379 247 49 196617 blip time;
#P user panel 214 239 269 130;
#X brgb 205 215 224;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 84 262 96 182;
#X brgb 205 215 224;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 24 0 25 0;
#P fasten 24 0 25 1 306 526 340 526;
#P fasten 26 1 22 0 141 258 323 258;
#P connect 26 0 15 0;
#P connect 12 0 26 1;
#P fasten 28 0 26 0 69 216 104 216;
#P connect 27 0 28 0;
#P connect 23 0 22 1;
#P connect 21 0 19 1;
#P connect 18 0 21 0;
#P connect 22 0 18 0;
#P connect 19 0 24 0;
#P fasten 20 0 19 0 222 334 306 334;
#P connect 14 0 13 0;
#P connect 17 1 7 1;
#P connect 16 2 17 2;
#P connect 16 1 17 1;
#P fasten 13 0 9 1 218 77 166 77;
#P connect 17 0 7 0;
#P connect 16 0 17 0;
#P connect 15 0 16 0;
#P connect 11 0 12 0;
#P connect 10 0 11 0;
#P connect 9 0 10 0;
#P connect 8 0 9 0;
#P window clipboard copycount 31;


June 17, 2007 | 12:32 pm

Nick,
Did you try MIDIPipe to route MIDI between applications. I have not tried it with Logic, however.

MIDIPipe is at this link if you want to give it a go.

http://homepage.mac.com/nicowald/SubtleSoft/

Hope this helps,
Mitch


June 17, 2007 | 3:59 pm

There is midishare also:

http://midishare.sourceforge.net/

I know openmusic from ircam uses it to route midi information, it’s working
for me but I haven’t tried it with max or Logic.

P

On 17/06/07, Mitch Turner wrote:
>
>
> Nick,
> Did you try MIDIPipe to route MIDI between applications. I have not tried
> it with Logic, however.
>
> MIDIPipe is at this link if you want to give it a go.
> http://homepage.mac.com/nicowald/SubtleSoft/
>
> Hope this helps,
> Mitch
> –
> http://home.lagrange.edu/mturner
>


June 17, 2007 | 5:31 pm

Thanks for the feedback. I have tried midipipe, but it uses the same IAC bus to route data. I will give this midishare a shot though, and post the results. In the mean time, I’ve been using vst~ and just recording the output into logic via rewire. The timing has been spot on in these cases.


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