Class ExampleSoundFactory
java.lang.Object
rawDeepLearningClassifier.layoutFX.exampleSounds.ExampleSoundFactory
The example sound factory
- Author:
- Jamie Macaulay
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
An example sound type. -
Field Summary
Modifier and TypeFieldDescriptionstatic final double[]
Beaked whale click template, sR is 192000;static final double[]
Dolphin click template.static final double[]
Dolphin click template.static final double[]
Sperm whale click that contains P0 , P1 and P2 pulses. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExampleSound
(ExampleSoundFactory.ExampleSoundType exampleSoundType) Get the example sound type.Get all the example sounds for a particular category.Get all the example sounds for a set of categories.
-
Field Details
-
beakedWhale1
public static final double[] beakedWhale1Beaked whale click template, sR is 192000; -
porp1
public static final double[] porp1Dolphin click template. sR is 500000; -
dolphin1
public static final double[] dolphin1Dolphin click template. sR is 192000; -
sperm1
public static final double[] sperm1Sperm whale click that contains P0 , P1 and P2 pulses. sR is 192000/4
-
-
Constructor Details
-
ExampleSoundFactory
public ExampleSoundFactory()
-
-
Method Details
-
getExampleSoundTypes
public ArrayList<ExampleSoundFactory.ExampleSoundType> getExampleSoundTypes(ExampleSoundFactory.ExampleSoundCategory... cateogry) Get all the example sounds for a set of categories.- Returns:
- the example sounds for a category.
-
getExampleSound
Get the example sound type.- Parameters:
exampleSoundType
-- Returns:
-
getExampleSoundTypes
public ExampleSoundFactory.ExampleSoundType[] getExampleSoundTypes(ExampleSoundFactory.ExampleSoundCategory category) Get all the example sounds for a particular category.- Returns:
- the example sounds for a category.
-