class MIDIFile::Event

Direct Known Subclasses

Defined in:

midi_file/event.cr
midi_file/meta_event.cr
midi_file/status_event.cr
midi_file/sysex_event.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [MIDIFile::Event]
PARTS = [{type: "basic", name: delta, cls: VLQ, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: event_head, cls: UInt8, onlyif: nil, verify: nil, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

[View source]
def self.from_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def delta : VLQ #

def delta=(delta : VLQ) #

def event_head : UInt8 #

def event_head=(event_head : UInt8) #

def to_s(io) #

[View source]

Macro Detail

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

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

[View source]