jcaas.midi.messages
Class NoteChangeMessage

java.lang.Object
  extended by jcaas.midi.messages.MMessage
      extended by jcaas.midi.messages.NoteChangeMessage

public class NoteChangeMessage
extends MMessage

Class to pass messages about the currently playing note.

Version:
created Apr 18, 2005 last modified Aug 14, 2005
Author:
Conrad M. Hutcheson

Field Summary
 
Fields inherited from class jcaas.midi.messages.MMessage
CHORD_MESSAGE, INSTRUMENT_MESSAGE, KEYSIGNATURE_MESSAGE, NOTECHANGE_MESSAGE, NOTELISTCHANGE_MESSAGE, RYTHM_MESSAGE, STAFFCHANGE_MESSAGE, STAFFPROPERTY_MESSAGE, TEMPO_MESSAGE, TIMESIGNATURE_MESSAGE, VOLUME_MESSAGE
 
Constructor Summary
NoteChangeMessage(NoteVector nv)
          Standard Constructor
 
Method Summary
 java.lang.Object getContents()
          A method to return the information carried by this message.
 int getType()
          A method to determine if the MidiPlayer or the Staff cares about this message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteChangeMessage

public NoteChangeMessage(NoteVector nv)
Standard Constructor

Parameters:
nv - the new NoteVector
Method Detail

getType

public int getType()
Description copied from class: MMessage
A method to determine if the MidiPlayer or the Staff cares about this message.

Specified by:
getType in class MMessage
Returns:
a symbolic int to indicate where this message goes.

getContents

public java.lang.Object getContents()
Description copied from class: MMessage
A method to return the information carried by this message.

Specified by:
getContents in class MMessage
Returns: