Class: MIDIEvents::NoteOff

Inherits:
Object
  • Object
show all
Includes:
NoteMessage
Defined in:
lib/midi-events/messages.rb

Overview

MIDI Note-Off message

Constant Summary collapse

STATUS =
0x8
DATA =
[:channel, :note, :velocity].freeze
DISPLAY_NAME =
'Note Off'.freeze
CONSTANT =
{ 'Note' => :note }.freeze

Instance Method Summary collapse

Instance Method Details

#abs_noteFixnum Originally defined in module NoteMessage

How many half-steps is this note above the closest C

Returns:

  • (Fixnum)

#note_nameString Originally defined in module NoteMessage

The name of the note without its octave e.g. F#

Returns:

  • (String)

#octaveFixnum Also known as: oct Originally defined in module NoteMessage

The octave number of the note

Returns:

  • (Fixnum)

#octave=(value) ⇒ NoteMessage Also known as: oct= Originally defined in module NoteMessage

Set the octave number of the note

Parameters:

  • value (Fixnum)

Returns: