|
|||||||||
| 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.EvTrgNote
public class EvTrgNote
Event that sends a specific trigger "note on" message. This event is used on rhythmical midi device. Usually, note C-3 is the first note trigger (and is usually assigned to a bassdrum).
[note velocity] : specify note velocity on x/10. You can use 0 or ! to specify a full velocity
sender : the sender name to use to send the event
note : the midi note to send the trigger
chl : the midi channel of the note event (default to channel 10)
Example usage:
evlist.add(1, new EvNote("! @sender myvst @note C-3"));
evlist.add(2, new EvNote("3 @sender myothervst @note C#3"));
| Field Summary | |
|---|---|
protected static Atom |
CHL_10
|
protected static Atom |
TRG_BASSDRUM
|
| 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 | |
|---|---|
EvTrgNote(String param)
|
|
EvTrgNote(String param,
GroupProperties gp)
|
|
| Method Summary | |
|---|---|
void |
appendDefinedProperties(StringBuffer sb)
Appends the string representation of the defined properties. |
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'. |
boolean |
setProperty(String name,
String value)
Set property. |
void |
setValue(String v)
Sets event definition using a string. |
| Methods inherited from class com.e1.mxdublin.evlist.EvSender |
|---|
clone, play |
| Methods inherited from class com.e1.mxdublin.evlist.EvAbstractItem |
|---|
bang, cancel, compareTo, equals, fromXML, getGroupProperties, getTm, isSameGroupProperties, loadElement, repr, run, setProperties, setTm, setTm, stop, 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 CHL_10
protected static final Atom TRG_BASSDRUM
| Constructor Detail |
|---|
public EvTrgNote(String param)
public EvTrgNote(String param,
GroupProperties gp)
| Method Detail |
|---|
public 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 values
public boolean setProperty(String name,
String value)
EvAbstractItem
setProperty in class EvSendername - property namevalue - property value
public boolean isLike(EvAbstractItem item)
EvAbstractItem
isLike in class EvSenderitem - the event item to compare
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||