MIDI: Unterschied zwischen den Versionen

Aus File Format
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „'''Musical Instrument Digital Interface''' {| class="wikitable" |+ MIDI-Header !Offset !Länge !Inhalt<br />HEX !Inhalt<br />BIN !Beschreibung |- |0x…“)
 
Zeile 15: Zeile 15:
 
  | (unwichtig)
 
  | (unwichtig)
 
  | '''MThd''' Chunk-Kennung (MIDI Track Header)
 
  | '''MThd''' Chunk-Kennung (MIDI Track Header)
 +
|-
 +
|0x0004
 +
|1 Word (4 Bytes)
 +
|00 00 00 06
 +
| (unwichtig)
 +
| Länge des MIDI-Header Chunks. Dieser ist im Normalfall <br />immer 6 Bytes lang. Zur Länge zählen MThd und Längen-Wörter nicht.
 +
|-
 +
|0x0008
 +
|2 Bytes
 +
|<NN NN>
 
  |
 
  |
}
+
| Das MIDI-File-Format. Es existieren 3 Formate.<br/>
 +
{| class="wikitable"
 +
|+ MIDI-File-Format
 +
!Inhalt<br />HEX
 +
!Inhalt<br />BIN
 +
!Beschreibung
 +
|-
 +
|00 01
 +
| 0001
 +
| MIDI-Datei enthält einen einzelnen Track (Spur)
 +
|-
 +
|00 02
 +
| 0010
 +
| Mehrere Tracks, synchronisiert
 +
|-
 +
|00 03
 +
| 0011
 +
| Mehrere Tracks, nicht synchronisiert
 +
|}
 +
|-
 +
|0x000A
 +
|2 Bytes
 +
|<NN NN>
 +
|
 +
| Anzahl MIDI-Spuren (Tracks)
 +
|-
 +
|0x000C
 +
|2 Bytes
 +
|<NN NN>
 +
|
 +
| Taktrate einer Viertelnote (Ticks pro Viertelnote)
 +
|}
 +
 
 +
 
  
  
 
[[Kategorie:Datei]]
 
[[Kategorie:Datei]]
 
[[Kategorie:Sound]]
 
[[Kategorie:Sound]]

Version vom 9. Februar 2015, 22:51 Uhr

Musical Instrument Digital Interface


MIDI-Header
Offset Länge Inhalt
HEX
Inhalt
BIN
Beschreibung
0x0000 1 Word (4 Bytes) 4D 54 68 64 (unwichtig) MThd Chunk-Kennung (MIDI Track Header)
0x0004 1 Word (4 Bytes) 00 00 00 06 (unwichtig) Länge des MIDI-Header Chunks. Dieser ist im Normalfall
immer 6 Bytes lang. Zur Länge zählen MThd und Längen-Wörter nicht.
0x0008 2 Bytes <NN NN> Das MIDI-File-Format. Es existieren 3 Formate.
MIDI-File-Format
Inhalt
HEX
Inhalt
BIN
Beschreibung
00 01 0001 MIDI-Datei enthält einen einzelnen Track (Spur)
00 02 0010 Mehrere Tracks, synchronisiert
00 03 0011 Mehrere Tracks, nicht synchronisiert
0x000A 2 Bytes <NN NN> Anzahl MIDI-Spuren (Tracks)
0x000C 2 Bytes <NN NN> Taktrate einer Viertelnote (Ticks pro Viertelnote)