• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Late MIDI note events in Logic & GarageBand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Late MIDI note events in Logic & GarageBand


  • Subject: Late MIDI note events in Logic & GarageBand
  • From: Nick Dowell <email@hidden>
  • Date: Thu, 17 Jan 2008 12:38:44 +0000

Hi All,

In the course of debugging some issues in a plug-in of ours, I have found that Logic delivers MIDI messages later than expected. This wreaks havoc with our arpeggiator, which syncs itself exactly with the transport position information reported by the AU host.

To be sure of my suspicion, I created a small test AU which exposes the issue...

Based on the values returned by HostCallback_GetBeatAndTempo() and the startFrame of the each MIDI event, it calculates the exact start beat of the MIDI note event and how late it is (assuming the note was intended to start on a beat).

It found that under Logic Pro 7.2.3, the notes are between 1 and 22 samples late.
Under Logic Pro 8.0.0 (and GarageBand 4.1.1), the notes are either 21 or 22 samples late (at 44.1 kHz) or 24 samples late (at 48 kHz).
In all three the very first note (on the first beat) in a track is scheduled on time.


Maybe I'm doing something wrong - I'd be happy if someone could prove it!

If not, is this a known bug in Logic / GarageBand?

Regards,

Nick

Attachment: AUMidiEventTrace.cpp.zip
Description: Zip archive

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: drag'n'drop in Logic
  • Next by Date: Quick converter question from a CA newbie
  • Previous by thread: Re: How to programmatically change the default sound output device?
  • Next by thread: Quick converter question from a CA newbie
  • Index(es):
    • Date
    • Thread