dguitar.adaptors.song
Interface SongTrack

All Known Implementing Classes:
SongTrackImpl

public interface SongTrack

A SongTrack defines the initialization events of a track (such as program change, controller settings)

Author:
crnash

Method Summary
 int getBendSensitivity()
           
 int getChorus()
           
 int getIndex()
           
 int getPan()
           
 int getPhaser()
           
 SongDevice getPrimaryDevice()
           
 int getProgram()
           
 int getReverb()
           
 SongDevice getSecondaryDevice()
           
 int getTremolo()
           
 int getVirtualTrackCount()
           
 int getVolume()
           
 void setBendSensitivity(int bendSensitivity)
           
 void setChorus(int chorus)
           
 void setPan(int balance)
           
 void setPhaser(int phaser)
           
 void setPrimaryDevice(SongDevice device)
           
 void setProgram(int instrument)
           
 void setReverb(int reverb)
           
 void setSecondaryDevice(SongDevice device)
           
 void setTremolo(int tremolo)
           
 void setVolume(int volume)
           
 

Method Detail

getPrimaryDevice

public SongDevice getPrimaryDevice()

setPrimaryDevice

public void setPrimaryDevice(SongDevice device)

getSecondaryDevice

public SongDevice getSecondaryDevice()

setSecondaryDevice

public void setSecondaryDevice(SongDevice device)

setProgram

public void setProgram(int instrument)
Parameters:
instrument -

getProgram

public int getProgram()

setVolume

public void setVolume(int volume)
Parameters:
volume -

getVolume

public int getVolume()

setPan

public void setPan(int balance)
Parameters:
balance -

getPan

public int getPan()

setChorus

public void setChorus(int chorus)
Parameters:
chorus -

getChorus

public int getChorus()

setReverb

public void setReverb(int reverb)
Parameters:
reverb -

getReverb

public int getReverb()

setTremolo

public void setTremolo(int tremolo)
Parameters:
tremolo -

getTremolo

public int getTremolo()

setPhaser

public void setPhaser(int phaser)
Parameters:
phaser -

getPhaser

public int getPhaser()

setBendSensitivity

public void setBendSensitivity(int bendSensitivity)

getBendSensitivity

public int getBendSensitivity()

getVirtualTrackCount

public int getVirtualTrackCount()
Returns:
the virtual track count

getIndex

public int getIndex()
Returns:
the index of the Track