|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vwp.sound.mod.modplay.player.autoeffect.AutoVibrato
public class AutoVibrato
an effect controlling how an instrument vibrates each time it is played I have absolutely no idea how to implement this... Any ideas? > torkjel@fast.no
Constructor Summary | |
---|---|
AutoVibrato(int type,
int sweep,
int depth,
int rate)
|
Method Summary | |
---|---|
void |
doEffect(TrackState state,
int track)
perform the effect |
void |
keyOff(int track)
signal to the autoeffect that a key-off note/effect was played |
void |
newNote(double note,
int track)
tells the autoeffect that a new note is played. |
void |
reset(int track)
reset the effect in the given track |
void |
setNumberOfTracks(int tracks)
sets the number of track in a module |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoVibrato(int type, int sweep, int depth, int rate)
Method Detail |
---|
public void setNumberOfTracks(int tracks)
AutoEffect
setNumberOfTracks
in interface AutoEffect
tracks
- the number of tracks in a modulepublic void newNote(double note, int track)
AutoEffect
newNote
in interface AutoEffect
note
- the new notetrack
- the track where the note is playedpublic void doEffect(TrackState state, int track)
AutoEffect
doEffect
in interface AutoEffect
state
- the state of the track where the effect is usedtrack
- the number of the track where effect is usedpublic void reset(int track)
AutoEffect
reset
in interface AutoEffect
public void keyOff(int track)
AutoEffect
keyOff
in interface AutoEffect
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |