Package qa.generator
Interface QASound
- All Known Implementing Classes:
StandardSound
public interface QASound
Interface for all QA module sounds.
- Author:
- Doug
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the waveform.long[]
double[]
double[][]
getWave()
Get the waveform for each hydrophone.Note that these may be time aligned to different start samples and that each channels data may not be exactly the same length
-
Method Details
-
getFirstSamples
long[] getFirstSamples()- Returns:
- The numbers of the first samples on each hydrophone
-
getWave
double[][] getWave()Get the waveform for each hydrophone.Note that these may be time aligned to different start samples and that each channels data may not be exactly the same length- Returns:
- waveform for each channel.
-
getFrequencyRange
double[] getFrequencyRange()- Returns:
- The generated frequency range for each sound
-
getSignalType
String getSignalType()- Returns:
- The name of the signal type.
-
clearWave
void clearWave()Clears the waveform. Can be called once the sound insersion is complete to free up memory.
-