|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PurePitchDetector
A pure pitch detector is capable of analyzing a buffer with audio information and return a pitch. Depending on the underlying algorithm the buffer has to have a certain length.
Method Summary | |
---|---|
float |
getPitch(float[] audioBuffer)
Analyzes a buffer with audio information and estimates a pitch in Hz. |
float |
getProbability()
Some algorithms can calculate a probability (noisiness, aperiodicity or clarity measure) for the detected pitch. |
Method Detail |
---|
float getPitch(float[] audioBuffer)
audioBuffer
- The buffer with audio information. The information in the
buffer is not modified so it can be (re)used for e.g. FFT
analysis.
float getProbability()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |