class MIDIFile::MetaEvent

Defined in:

midi_file/meta_event.cr

Constant Summary

ENDIAN = ["system"]
KLASS_NAME = [MIDIFile::MetaEvent]
PARTS = [{type: "enum", name: type, cls: UInt8, onlyif: nil, verify: nil, value: nil, encoding: Type}, {type: "basic", name: length, cls: VLQ, onlyif: nil, verify: nil, value: nil}, {type: "bytes", name: data, cls: Bytes, onlyif: nil, verify: nil, length: -> do length.value end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class MIDIFile::Event

__format__ : IO::ByteFormat __format__, delta : VLQ delta, delta=(delta : VLQ) delta=, event_head : UInt8 event_head, event_head=(event_head : UInt8) event_head=, to_s(io) to_s

Class methods inherited from class MIDIFile::Event

bit_fields bit_fields, from_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil) from_io_with_running_status

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def data : Bytes #

def data=(data : Bytes) #

def event_data #

[View source]
def length : VLQ #

def length=(length : VLQ) #

def to_s(io) #

[View source]
def type : Type #

def type=(type : Type) #

Macro Detail

macro midi_file_event(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro midi_file_meta_event(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro midi_file_status_event(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro midi_file_vlq(name, onlyif = nil, verify = nil, value = nil) #

[View source]