public class RmsLsfDistortionComputer extends BaselineDistortionComputer
Constructor and Description |
---|
RmsLsfDistortionComputer() |
Modifier and Type | Method and Description |
---|---|
double[] |
getDistances(BaselineAdaptationSet set1,
BaselineAdaptationSet set2,
boolean isBark,
double upperFreqInHz) |
double[] |
getDistances(BaselineAdaptationSet set1,
BaselineAdaptationSet set2,
boolean isBark,
double upperFreqInHz,
int[] map) |
double[] |
getDistances(String folder1,
String folder2,
boolean isBark,
double upperFreqInHz) |
double[] |
getDistances(String folder1,
String folder2,
double upperFreqInHz) |
double[][] |
getDistancesPerFile(BaselineAdaptationSet set1,
BaselineAdaptationSet set2,
boolean isBark,
double upperFreqInHz,
int[] map)
Compute the distances per file
|
double[] |
getItemDistances(BaselineAdaptationItem item1,
BaselineAdaptationItem item2,
boolean isBark,
double upperFreqInHz) |
static void |
main(String[] args) |
void |
mainDistancesPerFile(String folder1,
String folder2)
Compare distances between two folders; each folder is expected to contain wav files with the same names and accompanying
lab files.
|
static void |
mainHmmVoiceConversion() |
static void |
mainHmmVoiceConversion(String method1,
String method2,
String folder1,
String folder2,
String referenceFolder,
String outputFile,
boolean isBark) |
static void |
mainInterspeech2008() |
static void |
mainParametricInterspeech2008(String method,
String emotion,
boolean isBark) |
public RmsLsfDistortionComputer() throws IOException
IOException
public double[] getDistances(String folder1, String folder2, double upperFreqInHz) throws IOException
IOException
public double[] getDistances(String folder1, String folder2, boolean isBark, double upperFreqInHz) throws IOException
IOException
public double[] getDistances(BaselineAdaptationSet set1, BaselineAdaptationSet set2, boolean isBark, double upperFreqInHz) throws IOException
IOException
public double[] getDistances(BaselineAdaptationSet set1, BaselineAdaptationSet set2, boolean isBark, double upperFreqInHz, int[] map) throws IOException
IOException
public double[][] getDistancesPerFile(BaselineAdaptationSet set1, BaselineAdaptationSet set2, boolean isBark, double upperFreqInHz, int[] map) throws IOException
set1
- set1set2
- set2isBark
- isBarkupperFreqInHz
- upperFreqInHzmap
- mapIOException
- IO Exceptionpublic double[] getItemDistances(BaselineAdaptationItem item1, BaselineAdaptationItem item2, boolean isBark, double upperFreqInHz) throws IOException
IOException
public static void mainParametricInterspeech2008(String method, String emotion, boolean isBark) throws IOException
IOException
public static void mainInterspeech2008() throws IOException
IOException
public static void mainHmmVoiceConversion(String method1, String method2, String folder1, String folder2, String referenceFolder, String outputFile, boolean isBark) throws IOException
IOException
public static void mainHmmVoiceConversion() throws IOException
IOException
public void mainDistancesPerFile(String folder1, String folder2) throws IOException
folder1
- first folderfolder2
- second folderIOException
- if any file names don't match.Copyright © 2000–2016 DFKI GmbH. All rights reserved.