Eternal External Sync Problem

Discuss music production with Ableton Live.
Gurulogic
Posts: 93
Joined: Thu Jun 12, 2008 6:01 pm

Re: Eternal External Sync Problem

Post by Gurulogic » Tue Mar 03, 2009 9:22 am

Yeah, the Abes really gotta hire themselvelves a midi clock guru..
The issues I've had, it almost seems as though Live takes over so many resources for a a split second with certain actions (ie:dumping a huge volume of midi CC's to the mix parameters) that it starves the midi interface from receiving the proper data.Some of my gear puts up with it some of it doesn't. The rest of the time everything is fine.I could swear Live makes my midi interfaces skip a beat and it's not Live's clock that's faulty at all, but something else.

bynoe
Posts: 119
Joined: Thu Feb 09, 2006 12:52 pm
Location: London

Re: Eternal External Sync Problem

Post by bynoe » Tue Mar 03, 2009 10:11 am

Yep it syncs horribly with my MPC 1000. I'm beta testing 8 and its got worse. When i hit play the MPC plays the first few beats really quick then settles down. its bizarre. Must report this.

pmestrez
Posts: 41
Joined: Thu Aug 12, 2004 2:36 pm
Location: Belgium

Re: Eternal External Sync Problem

Post by pmestrez » Tue Mar 03, 2009 11:18 am

Hello All,

I can easilly understand that a midi interface with its buffers, own thread priority, IRQ management, driver code quality, latency etc...) is not something that ableton can manage easily. They don't have to do so in fact.
So i'm not completly agree to say Ableton is the only faulty about this topic.

I can understand that all these midi interface technical stuff may introduce a latency.
Ableton has just to provide a dedicated midi sync clock compensation for each midi out port.
In addition, it is important to ensure that when the latency compensation has been find, the midi clock must stay steady and doesn't drift. That is for me up to the abletonian !

They can at least try to do that and ensure the threads/process that manage midi clock out are set to highest priority.
for me, the windows GUI refresh can even slowdown (sorry for those who don't like that) but the midi clock timing NEEDS to stay tight and constant.
"It is just" a matter of priority and scheduling policies.

Regards,

Pierre.

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Eternal External Sync Problem

Post by broc » Tue Mar 03, 2009 11:44 am

pmestrez wrote:"It is just" a matter of priority and scheduling policies.
Absolutely. But I think that application programs like Live don't have much control over thread management and priorities. So the basic problem is that we have to deal with general purpose operating systems which are not designed for real time operations as needed with MIDI and audio.

Personally, I've noticed (on OS X) that synchronization with MIDI clock or MTC works very well provided the CPU load is constantly less than 50%.

pmestrez
Posts: 41
Joined: Thu Aug 12, 2004 2:36 pm
Location: Belgium

Re: Eternal External Sync Problem

Post by pmestrez » Tue Mar 03, 2009 12:16 pm

Yes.

While it could be difficult to change scheduler/dispatcher policies of OS.
Things like set a higher affinity and thread priority could be done on the threads that manage midi.
Maybe time quota itself by regestering aaplication differently on the OS... Don't know. Microsft is not open to that kind of stuff.
In addition, having 2 seperated thread: one that manage notes/CC (linked to the GUI) and another that only manage midi clock tick maybe...
Yes, they would write to the same output but the 2 thread could add something better... don't know... only supposition of an old (no more) c++ coder :-)

Regards,

Pierre

aqua_tek
Posts: 2569
Joined: Thu Sep 14, 2006 8:48 pm
Contact:

Re: Eternal External Sync Problem

Post by aqua_tek » Tue Mar 03, 2009 5:33 pm

broc wrote: Personally, I've noticed (on OS X) that synchronization with MIDI clock or MTC works very well provided the CPU load is constantly less than 50%.
Guess it varies from person to person. I'm on OS X as well, and even on a simple project, with just a couple of tracks, CPU well below the 50%... all the way down to the teens, the midi clock on live continues to be problematic.

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Re: Eternal External Sync Problem

Post by Tone Deft » Tue Mar 03, 2009 5:38 pm

sync has never failed me when playback is stopped, in that state it's rock solid, better than Pro Fools.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Eternal External Sync Problem

Post by broc » Tue Mar 03, 2009 6:39 pm

aqua_tek wrote:
broc wrote: Personally, I've noticed (on OS X) that synchronization with MIDI clock or MTC works very well provided the CPU load is constantly less than 50%.
Guess it varies from person to person. I'm on OS X as well, and even on a simple project, with just a couple of tracks, CPU well below the 50%... all the way down to the teens, the midi clock on live continues to be problematic.
Well, even if you have an avarage CPU load of 10% you may get peaks over 50% when doing some operations like eg. opening a window. So what I meant with "constantly less than 50%" was that such peaks don't happen. In other words, pure playback without touching anything. I understand it's a serious limitation but just wanted to point out that timing problems may be due to interference with other operations controlled by the operating system.

si.
Posts: 20
Joined: Sun Dec 10, 2006 10:52 am
Contact:

Re: Eternal External Sync Problem

Post by si. » Tue Mar 03, 2009 10:31 pm

This is a headache alright... I ended up giving up an it altogether! Just set the bpms equal and hit play simultaneously, then nudge my drum machine into sync...

Would be great to have this sorted for live 8...

Post Reply