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
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