jlscp
v0.8

org.linuxsampler.lscp.event
Class ChannelMidiDataEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.linuxsampler.lscp.event.MidiDataEvent
          extended by org.linuxsampler.lscp.event.ChannelMidiDataEvent
All Implemented Interfaces:
java.io.Serializable

public class ChannelMidiDataEvent
extends MidiDataEvent

A semantic event which indicates that MIDI data has arrived on a specific sampler channel.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.linuxsampler.lscp.event.MidiDataEvent
MidiDataEvent.Type
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChannelMidiDataEvent(java.lang.Object source, MidiDataEvent.Type type, int note, int velocity)
          Creates a new instance of ChannelMidiDataEvent
 
Method Summary
 int getChannelId()
          Returns the ID of the sampler channel, to which MIDI data has arrived.
 void setChannelId(int id)
          Sets the ID of the sampler channel, to which MIDI data has arrived.
 
Methods inherited from class org.linuxsampler.lscp.event.MidiDataEvent
getNote, getType, getVelocity
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelMidiDataEvent

public ChannelMidiDataEvent(java.lang.Object source,
                            MidiDataEvent.Type type,
                            int note,
                            int velocity)
Creates a new instance of ChannelMidiDataEvent

Method Detail

getChannelId

public int getChannelId()
Returns the ID of the sampler channel, to which MIDI data has arrived.


setChannelId

public void setChannelId(int id)
Sets the ID of the sampler channel, to which MIDI data has arrived.


jlscp
v0.8

Copyright © 2009 Grigor Iliev. All rights reserved.