Squeak Class Documentation category index | class index  
 
NoteEvent
  category: Sound-Scores
  superclass: AbstractScoreEvent
  subclasses:

Represents a note on or off event in a MIDI score.

instance methods
  accessing
  channel
channel:
duration
duration:
endTime
key:velocity:channel:
midiKey
midiKey:
pitch
velocity
velocity:

  classification
  isNoteEvent

  midi
  endNoteOnMidiPort:
startNoteOnMidiPort:

  printing
  keyName
printOn:

class methods
  no messages
 

instance methods
  accessing top  
 

channel


 

channel:


 

duration


 

duration:


 

endTime

Subclasses should override to return the ending time if the event has some duration.


 

key:velocity:channel:


 

midiKey


 

midiKey:


 

pitch

Convert my MIDI key number to a pitch and return it.


 

velocity


 

velocity:


  classification top  
 

isNoteEvent


  midi top  
 

endNoteOnMidiPort:

Output a noteOff event to the given MIDI port. (Actually, output a noteOff event with zero velocity. This does the same thing, but allows running status to be used when sending a mixture of note on and off commands.)


 

startNoteOnMidiPort:

Output a noteOn event to the given MIDI port.


  printing top  
 

keyName

Return a note name for my pitch.


 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


class methods
  no messages top