[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-audio-dev
Subject: Re: [linux-audio-dev] Basic MIDI question
From: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas () gmail ! com>
Date: 2006-07-24 21:11:52
Message-ID: 200607242311.53011.pedro.lopez.cabanillas () gmail ! com
[Download RAW message or body]
On Monday, 24 July 2006 16:38, Lee Revell wrote:
> Take the sequence "80 3D 35 31 80 3A 39 0E 80 37 31 03 80 31 1F" in
> the first line for example. I know that 0x80 is note-off, and 0x3D are
> note number and 0x35 the velocity of the note-off. But what the heck is
> the next byte, 0x31?
Delta time of the next event, in variable length representation.
> The MIDI standard says note-off is one status byte
> followed by 2 data bytes!
SMF (Standard MIDI File) format must store timestamped events, which the MIDI
protocol (over the wire) doesn't care. There is a good reference of SMF
format here: http://borg.com/~jglatt/tech/midifile.htm
You may want to try some SMF-to-text conversion utility:
http://alsa.opensrc.org/MidiComp
Regards,
Pedro
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic