com.vwp.sound.mod.modplay.player.autoeffect
Class AutoVibrato

java.lang.Object
  extended by com.vwp.sound.mod.modplay.player.autoeffect.AutoVibrato
All Implemented Interfaces:
AutoEffect

public class AutoVibrato
extends java.lang.Object
implements AutoEffect

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

AutoVibrato

public AutoVibrato(int type,
                   int sweep,
                   int depth,
                   int rate)
Method Detail

setNumberOfTracks

public void setNumberOfTracks(int tracks)
Description copied from interface: AutoEffect
sets the number of track in a module

Specified by:
setNumberOfTracks in interface AutoEffect
Parameters:
tracks - the number of tracks in a module

newNote

public void newNote(double note,
                    int track)
Description copied from interface: AutoEffect
tells the autoeffect that a new note is played.

Specified by:
newNote in interface AutoEffect
Parameters:
note - the new note
track - the track where the note is played

doEffect

public void doEffect(TrackState state,
                     int track)
Description copied from interface: AutoEffect
perform the effect

Specified by:
doEffect in interface AutoEffect
Parameters:
state - the state of the track where the effect is used
track - the number of the track where effect is used

reset

public void reset(int track)
Description copied from interface: AutoEffect
reset the effect in the given track

Specified by:
reset in interface AutoEffect

keyOff

public void keyOff(int track)
Description copied from interface: AutoEffect
signal to the autoeffect that a key-off note/effect was played

Specified by:
keyOff in interface AutoEffect