fbpx


The MIDI Forum

  Friday, 20 August 2021
  2 Replies
  589 Visits
0
Votes
Undo
  Subscribe
I am trying to find information about the intended purpose/use of the Key Signature Meta Message. How is it to be used? Is there a track number associated with this message?
tom changed the title from Time Signature System Exclusive Message to Key Signature mesage — 1 month ago
tom changed the title from Key Signature mesage to Key Signature message — 1 month ago
more than a month ago
·
#10380
0
Votes
Undo
As far as midi is concerned, this message doesn't do anything. It's there for information only. However, some software that seeks to display the information in the midi file will make use of this information, and this may affect how the musical information is displayed.

It is usual to put this item in the first track.

As per the SMF spec, this message comprises 5 bytes.

FF, 59, 02 signify the actual item, and there are two bytes of data.

The first byte of data is in the range -7 to 0 to 7 where a minus # is the number of flats, 0 means it's the key of C, and + numbers are the number of sharps. The second data item is either 0 or 1, where 0 indicates Major, and 1 signifies Minor key.

Geoff
I am trying to find information about the intended purpose/use of the Key Signature Meta Message. How is it to be used? Is there a track number associated with this message?


This message is useful for musical score editors/notation programs, and for any other software interested in this particular notation feature.

In SMF type 1 files, all metadata messages, like any other message, belongs to one track.
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!