whistleClassifier
Class WhistleFragmenter
java.lang.Object
whistleClassifier.WhistleFragmenter
- Direct Known Subclasses:
- OverlappingFragmenter
public abstract class WhistleFragmenter
- extends java.lang.Object
Break a whistle up into fragments.
Really all we need to know is the start of each fragment
- Author:
- Doug Gillespie
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fragmentLength
private int fragmentLength
WhistleFragmenter
public WhistleFragmenter()
getFragmentStarts
public abstract int[] getFragmentStarts(int shapeLen)
setFragmentLength
public void setFragmentLength(int fragmentLength)
getFragmentLength
public int getFragmentLength()
getFragments
public WhistleFragment[] getFragments(WhistleContour whistleContour)
- Create an array of whistle fragments from a whistle contour.
- Parameters:
whistleContour - contour to extract fragments from .
- Returns:
- array of fragments