dguitar.players.sound
Interface SoundPlayer
- All Known Subinterfaces:
- EventSoundPlayer, RealtimeSoundPlayer
- All Known Implementing Classes:
- MasterPlayer, MidiFiler, MidiPlayer, MockMidiPlayer
- public interface SoundPlayer
- Author:
- crnash
createPerformance
public Performance createPerformance(int tracks,
Tempo tempo,
int resolution)
- Create a performance object that is compatible with this class of SoundPlayer.
- Parameters:
tracks
- the number of physical tracks in this performancetempo
- the tempo at which to play itresolution
- the resolution (in ticks per quarter note)
- Returns:
- the Performance object that was created
start
public void start()
close
public void close()
setPerformance
public void setPerformance(Performance performance)
- Parameters:
performance
-