• 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
Re: MIDI data in an AIFF file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI data in an AIFF file


  • Subject: Re: MIDI data in an AIFF file
  • From: Erick Tejkowski <email@hidden>
  • Date: Sun, 27 Feb 2005 02:20:36 -0600

I don't have a definitive answer for you, but I think I know where you can find the answer. Download "Dent du Midi", which converts a multitrack midi file to multiple AIFF files (one for each track). Each AIFF file has embedded MIDI. Open one of the resulting AIFF files and check to see which chunk they are using to embed the MIDI data. it's been awhile since I investigated this, but you probably just add another (MIDI) chunk to an AIFF file. Offsets will have to change, obviously, but I don't think there is much more to it. You mention CoreAudio, but I think this would be overkill. You should be able to accomplish this task with simple file I/O. Just write the files by hand. It's not that complex, especially if you already have the MIDI data.

Best,
Erick


On Feb 26, 2005, at 9:32 AM, Craig Bakalian wrote:

After some gleaning and careful reading I have come to the conclusion that it is possible to get MIDI data into a AIFF file. Yet, I do not know how to do it, especially with CoreAudio. I understand that this is the structure that must be made

#define MIDIDataID 'MIDI'
type struct{
ID chunkID;
long chunkSize;
unsigned char MIDIdata[ ];
} MIDIDataChunk;

ID is 4 ASCII bytes "described by Interchange File Format". But, now what? Does anyone have any other information about pushing MIDI data into an AIFF file?
_______________________________________________
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
References: 
 >MIDI data in an AIFF file (From: Craig Bakalian <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 2, Issue 63
  • Next by Date: Random Access Audio Format
  • Previous by thread: Re: MIDI data in an AIFF file
  • Next by thread: Re: Coreaudio-api Digest, Vol 2, Issue 63
  • Index(es):
    • Date
    • Thread