MIDIFile::Track
Constants
ENDIAN = ["big"]
KLASS_NAME = [MIDIFile::Track]
PARTS = [{type: "string", name: chunk_id, cls: String, onlyif: nil, verify: -> do
chunk_id == "MTrk"
end, length: -> do
4
end, value: -> do
"MTrk"
end,
encoding: nil}, {type: "basic", name: chunk_size, cls: UInt32, onlyif: nil, verify: nil, value: nil}, {type: "bytes", name: data, cls: Bytes, onlyif: nil, verify: nil, length: -> do
chunk_size
end,
value: nil}] of Nil
REMAINING = [] of Nil
Class methods
bit_fields
Sourcefrom_io(io, byte_format : IO::ByteFormat)
SourceInstance methods
__format__
Sourceapply(byte_format : IO::ByteFormat)
Sourcechunk_id
chunk_id=(chunk_id : String)
chunk_size
chunk_size=(chunk_size : UInt32)
data
data=(data : Bytes)
events
Sourceparse_events(byte_format : IO::ByteFormat)
Sourceto_io(io, byte_format : IO::ByteFormat)
SourceMacros
midi_file_event(name, onlyif = nil, verify = nil, value = nil)
Sourcemidi_file_meta_event(name, onlyif = nil, verify = nil, value = nil)
Sourcemidi_file_status_event(name, onlyif = nil, verify = nil, value = nil)
Sourcemidi_file_sysex_event(name, onlyif = nil, verify = nil, value = nil)
Sourcemidi_file_track(name, onlyif = nil, verify = nil, value = nil)
Sourcemidi_file_vlq(name, onlyif = nil, verify = nil, value = nil)
Source