Package soundPlayback
Interface PlaybackDataServer
public interface PlaybackDataServer
Provide data for sound playback in a suitable format. 
 example use is from the click detector which will 
 regenerate raw audio data from clicks, filling in spaces
 between clicks with blanks.
- Author:
 - Doug Gillespie
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidCancel data loading.doubleGet the true sample rate of the datavoidorderPlaybackData(PamObserver dataObserver, PlaybackProgressMonitor progressMonitor, float playbackRate, long startMillis, long endMillis) Request playback data. 
- 
Method Details
- 
orderPlaybackData
void orderPlaybackData(PamObserver dataObserver, PlaybackProgressMonitor progressMonitor, float playbackRate, long startMillis, long endMillis) Request playback data.This will automatically get called in a separate worker thread so no need to rethread in the concrete subclass of this.
- Parameters:
 dataObserver- destination for new RawDataUnitsprogressMonitor- progress monitor - should be notified in AWT thread.startMillis- start time in millisendMillis- end time in millis.
 - 
cancelPlaybackData
void cancelPlaybackData()Cancel data loading. - 
getDataSampleRate
double getDataSampleRate()Get the true sample rate of the data- Returns:
 - true sample rate in the data to play back.
 
 
 -