Yeah, unfortunetely, it's not as simple as that. There's the header chunk, which gives very basic information (MIDI format, number of tracks, ticks pqn), then the Track Chunk, which as a header that gets into delta times, time signatures), and then finally you get into the notes themselves.
The MIDI.org site itself doesn't have anything, you need to b purchase the spec, which i recommend. But, you might be able to piece together something from various sites. Each of them are incomplete in their own way. but, getting the hard copy spec is everything you ever wanted to know about MIDI. -- Philip Regan [EMAIL PROTECTED] http://homepage.mac.com/pregan REALBasic 2005r4, Applescript Mac OS 10.3.9 On 5/8/06, Maarten de Vries <[EMAIL PROTECTED]> wrote:
I found http://www.borg.com/~jglatt/tech/midispec.htm already, but it didn't state anyhting about a header or how the time is set/used/wahtever. But I'll look trough www.midi.org. Thanks Maarten On 08/05/06, Philip Regan <[EMAIL PROTECTED]> wrote: > > You need to get the MIDI spec. The official one can be had here: > > http://www.midi.org/ > > but, there are a number of other sites that detail it enough such that > you could write a file of most any complexity. A quick google search > will reveal a small number of them... > > > http://www.google.com/search?q=MIDI%20spec&sourceid=mozilla2&ie=utf-8&oe=utf-8 > > This is an excellent one... > http://www.borg.com/~jglatt/tech/midispec.htm > > cheers > -- > Philip Regan > [EMAIL PROTECTED] > http://homepage.mac.com/pregan > REALBasic 2005r4, Applescript > Mac OS 10.3.9 > > > On 5/8/06, Maarten de Vries <[EMAIL PROTECTED]> wrote: > > Hi, > > > > So, I've got a few commands, playing notes, stopping them and changing > the > > instrument. I use those to play notes with the NotePlayer control. But > now I > > wan't to write a midi files with those commands. So, I would guess I'd > first > > store all those commands with the time they where processed. Then when > the > > recording stops, I need to make a MIDI file with those commands. But how > > should I do that? > > > > Maarten > > _______________________________________________ > > Unsubscribe or switch delivery mode: > > <http://www.realsoftware.com/support/listmanager/> > > > > Search the archives of this list here: > > <http://support.realsoftware.com/listarchives/lists.html> > > > > > -- > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
-- -- Philip Regan [EMAIL PROTECTED] http://homepage.mac.com/pregan REALBasic 2005r4, Applescript Mac OS 10.3.9 _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
