Class MIDI::NoteEvent
In: lib/midilib/event.rb
Parent: ChannelEvent

The abstract superclass of all note on, and note off, and polyphonic pressure events.

Methods

Constants

PITCHES = %w(C C# D D# E F F# G G# A A# B)

Attributes

note  [RW] 
velocity  [RW] 

Public Class methods

Public Instance methods

If @print_note_names is true, returns pch_oct(val) else returns value as a number using number_to_s.

Returns note name as a pitch/octave string like "C4" or "F#6".

[Validate]