|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.e1.mxdublin.core.SeqEvent
com.e1.mxdublin.evlist.EvAbstractItem
com.e1.mxdublin.evlist.EvSender
com.e1.mxdublin.evlist.EvNote
public class EvNote
Event that sends a midi note to the specified receiver.
<note name in tracker format> <note duration> [note velocity]
sender : the sender name to use to send the event
chl : the midi channel of the note event (default to channel 1)
Example usage:
evlist.add(1, new EvNote("E-2 1 @sender myvst"));
evlist.add(2, new EvNote("D#2 0.5 63 @sender myothervst @chl 2"));
| Field Summary | |
|---|---|
protected static Atom |
CHL_1
|
protected static Atom |
FULL_VELOCITY
|
protected static Atom |
NOTE_OFF
|
protected Atom[] |
noteOff
|
| Fields inherited from class com.e1.mxdublin.evlist.EvSender |
|---|
arg, BANG, sender |
| Fields inherited from class com.e1.mxdublin.evlist.EvAbstractItem |
|---|
gp, len_tm |
| Fields inherited from class com.e1.mxdublin.core.SeqEvent |
|---|
mandatory |
| Constructor Summary | |
|---|---|
EvNote(String param)
|
|
EvNote(String param,
GroupProperties gp)
|
|
| Method Summary | |
|---|---|
void |
appendDefinedProperties(StringBuffer sb)
Appends the string representation of the defined properties. |
Object |
clone()
Clone the abstract event. |
String |
getValue()
Returns event representation in string format. |
boolean |
isLike(EvAbstractItem item)
Returns true if the content of this event is the same than event item 'comp'. |
void |
panic()
Utility that will send noteoff on all note that are currently playing. |
boolean |
setProperty(String name,
String value)
Set property. |
void |
setValue(String v)
Sets event definition using a string. |
void |
stop()
Tells this event to stop executing. |
| Methods inherited from class com.e1.mxdublin.evlist.EvSender |
|---|
play |
| Methods inherited from class com.e1.mxdublin.evlist.EvAbstractItem |
|---|
bang, cancel, compareTo, equals, fromXML, getGroupProperties, getTm, isSameGroupProperties, loadElement, repr, run, setProperties, setTm, setTm, toString, toXML |
| Methods inherited from class com.e1.mxdublin.core.SeqEvent |
|---|
eventDebug |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final Atom FULL_VELOCITY
protected static final Atom NOTE_OFF
protected static final Atom CHL_1
protected Atom[] noteOff
| Constructor Detail |
|---|
public EvNote(String param)
public EvNote(String param,
GroupProperties gp)
| Method Detail |
|---|
public void stop()
EvAbstractItem
stop in class EvAbstractItempublic void setValue(String v)
EvAbstractItem
setValue in class EvSenderv - String valuepublic String getValue()
EvAbstractItem
getValue in class EvSenderpublic void appendDefinedProperties(StringBuffer sb)
EvAbstractItem
appendDefinedProperties in class EvSendersb - the StringBuffer to append the properties valuespublic boolean isLike(EvAbstractItem item)
EvAbstractItem
isLike in class EvSenderitem - the event item to compare
public void panic()
public boolean setProperty(String name,
String value)
EvAbstractItem
setProperty in class EvSendername - property namevalue - property value
public Object clone()
EvAbstractItem
clone in class EvSenderObject.clone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||