public class F0TrackerAutocorrelationHeuristic extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
averageSampleEnergy |
double[] |
f0s |
protected double |
longTermAverageF0 |
static double |
MAX_SAMPLE |
protected int |
maxT0Index |
static double |
MINIMUM_SPEECH_ENERGY |
protected int |
minT0Index |
protected PitchFileHeader |
params |
protected double[] |
prevF0s |
protected double |
shortTermAverageF0 |
protected int |
totalVoicedFrames |
protected double[] |
voicedF0s |
protected double[] |
voicingProbabilities |
Constructor and Description |
---|
F0TrackerAutocorrelationHeuristic(PitchFileHeader paramsIn) |
F0TrackerAutocorrelationHeuristic(String wavFile) |
F0TrackerAutocorrelationHeuristic(String wavFile,
String ptcFile) |
Modifier and Type | Method and Description |
---|---|
double[] |
getF0Contour() |
double |
getSkipSizeInSeconds()
The frame shift time, in seconds.
|
double |
getWindowSizeInSeconds()
The size of the analysis window, in seconds.
|
void |
init() |
static void |
main(String[] args) |
void |
pitchAnalyze(DoubleDataSource signal)
Analyse the f0 contour of the given audio signal.
|
void |
pitchAnalyzeWav(String wavFile) |
PitchReaderWriter |
pitchAnalyzeWavFile(String wavFileIn) |
PitchReaderWriter |
pitchAnalyzeWavFile(String wavFileIn,
String ptcFileOut) |
public double[] f0s
protected PitchFileHeader params
protected int totalVoicedFrames
protected double[] voicingProbabilities
protected int minT0Index
protected int maxT0Index
protected double[] prevF0s
protected double[] voicedF0s
protected double longTermAverageF0
protected double shortTermAverageF0
public static double MAX_SAMPLE
public static double MINIMUM_SPEECH_ENERGY
protected double averageSampleEnergy
public F0TrackerAutocorrelationHeuristic(String wavFile) throws Exception
Exception
public F0TrackerAutocorrelationHeuristic(String wavFile, String ptcFile) throws Exception
Exception
public F0TrackerAutocorrelationHeuristic(PitchFileHeader paramsIn)
public void init()
public PitchReaderWriter pitchAnalyzeWavFile(String wavFileIn) throws UnsupportedAudioFileException, IOException
public PitchReaderWriter pitchAnalyzeWavFile(String wavFileIn, String ptcFileOut) throws UnsupportedAudioFileException, IOException
public void pitchAnalyzeWav(String wavFile) throws UnsupportedAudioFileException, IOException
public void pitchAnalyze(DoubleDataSource signal)
signal
- signalpublic double getSkipSizeInSeconds()
public double getWindowSizeInSeconds()
public double[] getF0Contour()
Copyright © 2000–2016 DFKI GmbH. All rights reserved.