Class: Sidtool::MidiFileWriter::TrackName
- Inherits:
-
Struct
- Object
- Struct
- Sidtool::MidiFileWriter::TrackName
- Defined in:
- lib/sidtool/midi_file_writer.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
18 19 20 |
# File 'lib/sidtool/midi_file_writer.rb', line 18 def name @name end |
Instance Method Details
#bytes ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/sidtool/midi_file_writer.rb', line 19 def bytes [ 0xFF, 0x03, name.length, *name.bytes ] end |