Class SimpleExampleSound
java.lang.Object
rawDeepLearningClassifier.layoutFX.exampleSounds.SimpleExampleSound
- All Implemented Interfaces:
 ExampleSound
Simple example sound loaded from a file.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSimpleExampleSound(double[] wave, float sampleRate) SimpleExampleSound(String file) SimpleExampleSound(URL path) SimpleExampleSound(URL path, int start, int end)  - 
Method Summary
 
- 
Constructor Details
- 
SimpleExampleSound
 - 
SimpleExampleSound
 - 
SimpleExampleSound
 - 
SimpleExampleSound
public SimpleExampleSound(double[] wave, float sampleRate)  
 - 
 - 
Method Details
- 
getWave
public double[] getWave()Description copied from interface:ExampleSoundGet the wave .- Specified by:
 getWavein interfaceExampleSound- Returns:
 - the wave
 
 - 
getSampleRate
public float getSampleRate()Description copied from interface:ExampleSoundGte the sample rate .- Specified by:
 getSampleRatein interfaceExampleSound- Returns:
 - get the sample rate.
 
 
 -