|
|||||||||
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.PanningEnvelope
public class PanningEnvelope
an effect controlling the panning of an instrument
Field Summary | |
---|---|
static int |
LOOP
|
static int |
ON
|
static int |
SUSTAIN
|
Constructor Summary | |
---|---|
PanningEnvelope(int[] offset,
double[] panning,
int numberOfPoints,
int sustainPoint,
int loopStart,
int loopEnd,
int type)
|
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 |
void |
setPosition(int pos,
int track)
set the position of an envelope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ON
public static final int SUSTAIN
public static final int LOOP
Constructor Detail |
---|
public PanningEnvelope(int[] offset, double[] panning, int numberOfPoints, int sustainPoint, int loopStart, int loopEnd, int type)
Method Detail |
---|
public void setNumberOfTracks(int tracks)
AutoEffect
setNumberOfTracks
in interface AutoEffect
tracks
- the number of tracks in a modulepublic void keyOff(int track)
AutoEffect
keyOff
in interface AutoEffect
public 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 setPosition(int pos, int track)
Envelope
setPosition
in interface Envelope
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |