public class VocalTractLinearScalerEffect extends BaseAudioEffect
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_AMOUNT |
static float |
MAX_AMOUNT |
static float |
MIN_AMOUNT |
chEffectParamEnd, chEffectParamStart, chParamEquals, chParamSeparator, fs, NULL_DOUBLE_PARAM, NULL_FLOAT_PARAM, NULL_INT_PARAM, NULL_STRING_PARAM, paramNames, paramVals, strEffectName, strExampleParameters, strHelpText, strLineBreak, strParams
Constructor and Description |
---|
VocalTractLinearScalerEffect() |
VocalTractLinearScalerEffect(int samplingRate) |
Modifier and Type | Method and Description |
---|---|
String |
getHelpText() |
String |
getName() |
static void |
main(String[] args)
Command line interface to the vocal tract linear scaler effect.
|
void |
parseParameters(String param) |
DoubleDataSource |
process(DoubleDataSource inputAudio) |
apply, apply, checkParameters, expectDoubleParameter, expectFloatParameter, expectIntParameter, getExampleParameters, getFullEffectAsString, getFullEffectWithExampleParametersAsString, getParamsAsString, getParamsAsString, isHMMEffect, preprocessParams, setExampleParameters, setHMMEffect, setName, setParams, setParamsFromFullName
public static float MAX_AMOUNT
public static float MIN_AMOUNT
public static float DEFAULT_AMOUNT
public VocalTractLinearScalerEffect()
public VocalTractLinearScalerEffect(int samplingRate)
public void parseParameters(String param)
parseParameters
in interface AudioEffect
parseParameters
in class BaseAudioEffect
public DoubleDataSource process(DoubleDataSource inputAudio)
process
in interface AudioEffect
process
in class BaseAudioEffect
public String getHelpText()
getHelpText
in interface AudioEffect
getHelpText
in class BaseAudioEffect
public String getName()
getName
in interface AudioEffect
getName
in class BaseAudioEffect
public static void main(String[] args) throws Exception
args
- the command line arguments. Exactly two arguments are expected: (1) the factor by which to scale the vocal tract
(between 0.25 = very long and 4.0 = very short vocal tract); (2) the filename of the wav file to modify. Will
produce a file basename_factor.wav, where basename is the filename without the extension.Exception
- if processing fails for some reason.Copyright © 2000–2016 DFKI GmbH. All rights reserved.