• 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
MIDI chunk - how does coreAudio/MusicSequence handle the Division of a MIDI MThd header?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDI chunk - how does coreAudio/MusicSequence handle the Division of a MIDI MThd header?


  • Subject: MIDI chunk - how does coreAudio/MusicSequence handle the Division of a MIDI MThd header?
  • From: Ian OKeeffe <email@hidden>
  • Date: Mon, 27 Feb 2006 15:11:23 +0000
  • Thread-topic: MIDI chunk - how does coreAudio/MusicSequence handle the Division of a MIDI MThd header?

Title: MIDI chunk - how does coreAudio/MusicSequence handle the Division of a MIDI MThd header?

Hi there,

I am trying to work out the length of a beat in pulses from the Division value in the MThd chunk, but where does coreAudio store this value? This is a requirement for looking at the MusicSequence in terms of bars and beats, rather than timestamps.

I was working in raw C with the mf2t code, where it is easy to go straight to a value, but am trying to switch to using MusicSequence. Tempo info can be found if there is a Meta event in the MIDI file, but the Division is always supplied as part of a MIDI file, as a resolution for pulses per quarter note. Is it stored in the MIDI Chunk, and if so, where?

If anyone has any code examples they would be much appreciated.

Kind regards,

ian0
 _______________________________________________
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

  • Follow-Ups:
    • MusicSequence CAShow statement and beats
      • From: Ian OKeeffe <email@hidden>
  • Prev by Date: An alternative view of "Groups, parts and multi-timbrality"
  • Next by Date: MusicSequence CAShow statement and beats
  • Previous by thread: Re: An alternative view of "Groups, parts and multi-timbrality"
  • Next by thread: MusicSequence CAShow statement and beats
  • Index(es):
    • Date
    • Thread