package at.priv.toastfreeware.jguitartuner;

import java.util.Vector;


/** Extract the fundamental frequency (or frequencies) of a continued sampled sound.
 * 
 * The "input" is given via analyzeSound and the "output" is getFundamentalFrequencies.
 * There could be several calls of analyzeSound but the sound should be seamless.
 * The class may have a history of sound that could also be used to determine the fundamental
 * frequencies. The history is cleared with clear().
 */
public abstract class PitchDetector {
	public abstract Vector<Double> getFundamentalFrequencies();
	
	
	public abstract void analyzeSound(int[] soundData);
	
	
	public void clear() {}

}
