|
|||||||||
| 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
com.e1.mxdublin.evlist.EvProg
public class EvProg
Event that sends a chord progression (in midi format) to the specified receiver. By default if no scale is specified, the major scale will automaticly be used.
<chord root and scale>:&;lt chord progression level>:[chord inversion degree] <chord duration> [note velocity]
sender : the sender name to use to send the event
scale : the scale to use this chord progression (E-5m)
chl : the midi channel of the note event
Example usage:
evlist.add(1, new EvChord("3 1 @scale E-5 @sender myvst"));
evlist.add(2, new EvChord("0:-1 0.5 @scale E-5 @sender myothervst"));
| Field Summary | |
|---|---|
Atom[] |
chord
|
| Fields inherited from class com.e1.mxdublin.evlist.EvNote |
|---|
CHL_1, FULL_VELOCITY, NOTE_OFF, 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 | |
|---|---|
EvProg(String args)
|
|
EvProg(String args,
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'. |
void |
play()
Sends the atom to currently assigned sender. |
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.EvNote |
|---|
clone, panic |
| 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 |
|---|
public Atom[] chord
| Constructor Detail |
|---|
public EvProg(String args)
public EvProg(String args,
GroupProperties gp)
| Method Detail |
|---|
public void setValue(String v)
EvAbstractItem
setValue in class EvNotev - String valuepublic String getValue()
EvAbstractItem
getValue in class EvNotepublic void play()
EvSender
play in class EvSenderpublic void stop()
EvAbstractItem
stop in class EvNotepublic boolean isLike(EvAbstractItem item)
EvAbstractItem
isLike in class EvNoteitem - the event item to compare
public void appendDefinedProperties(StringBuffer sb)
EvAbstractItem
appendDefinedProperties in class EvNotesb - the StringBuffer to append the properties values
public boolean setProperty(String name,
String value)
EvAbstractItem
setProperty in class EvNotename - property namevalue - property value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||