class MIDIFile::StatusEvent
 
  - MIDIFile::StatusEvent
 - MIDIFile::Event
 - BinData
 - Reference
 - Object
 
Defined in:
midi_file/status_event.crConstant Summary
- 
        DATA_SIZES = 
{Type::NoteOff => 2, Type::NoteOn => 2, Type::NotePressure => 2, Type::Control => 2, Type::Program => 1, Type::ChannelPressure => 1, Type::PitchBend => 2} - 
        ENDIAN = 
["system"] - 
        KLASS_NAME = 
[MIDIFile::StatusEvent] - 
        PARTS = 
[{type: "basic", name: data1, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: data2, cls: UInt8, onlyif: -> do DATA_SIZES[type] > 1 end, verify: nil, value: nil}] of Nil - 
        REMAINING = 
[] of Nil 
Class Method Summary
- .bit_fields
 - .from_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil, delta : VLQ)
 
Instance Method Summary
- #channel
 - #channel=(new_channel : UInt8)
 - #data1 : UInt8
 - #data1=(data1 : UInt8)
 - #data2 : UInt8
 - #data2=(data2 : UInt8)
 - #event_data
 - #to_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil)
 - #to_s(io)
 - #type
 - #type=(new_type : Type)
 
Macro Summary
- midi_file_event(name, onlyif = nil, verify = nil, value = nil)
 - midi_file_status_event(name, onlyif = nil, verify = nil, value = nil)
 - midi_file_vlq(name, onlyif = nil, verify = nil, value = nil)
 
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.from_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil, delta : VLQ)
        #
      
      
      Instance Method Detail
        
        def to_io_with_running_status(io, byte_format : IO::ByteFormat, running_status : StatusEvent | Nil)
        #