class MIDIFile::Track
- MIDIFile::Track
- BinData
- Reference
- Object
Defined in:
midi_file/track.crConstant Summary
-
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 Method Summary
Instance Method Summary
- #__format__ : IO::ByteFormat
- #apply(byte_format : IO::ByteFormat)
- #chunk_id : String
- #chunk_id=(chunk_id : String)
- #chunk_size : UInt32
- #chunk_size=(chunk_size : UInt32)
- #data : Bytes
- #data=(data : Bytes)
- #events : Array(Event)
- #events=(events : Array(Event))
- #parse_events(byte_format : IO::ByteFormat)
- #to_io(io, byte_format : IO::ByteFormat)
Macro Summary
- midi_file_event(name, onlyif = nil, verify = nil, value = nil)
- midi_file_meta_event(name, onlyif = nil, verify = nil, value = nil)
- midi_file_status_event(name, onlyif = nil, verify = nil, value = nil)
- midi_file_sysex_event(name, onlyif = nil, verify = nil, value = nil)
- midi_file_track(name, onlyif = nil, verify = nil, value = nil)
- midi_file_vlq(name, onlyif = nil, verify = nil, value = nil)