|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.util.Constant
public class Constant
The class Constant.java provides all constants of the tool. it implements the SettingControl interface and provides all parameters of the propertyfile in consolemode.
Field Summary | |
---|---|
static int |
ANALYSER_MIN_MAX
|
static int |
ANALYSER_NONE
ANALYSER TYP |
static int |
ANALYSER_STD
|
static int |
ATTACK_TIME
|
static int |
CHANNEL_NO
|
static int |
COMPRESSION
|
static java.lang.String |
COORDINATE_FILE
|
static int |
DIST_MUX
|
static int |
DISTANCE_CHANNELS
|
static int |
DURATION
|
static int |
FADE_TIME
|
static java.lang.String |
LANGUAGE_DIR
|
static int |
MASTER_VOLUME
|
static int |
MEAN_ARITHMETIC
MEAN CALCULATION TYP |
static int |
MEAN_RMS
|
static int |
MUX_DM
|
static int |
MUX_DS
|
static int |
MUX_SM
|
static int |
MUX_SS
MULTIPLEXER TYP |
static int |
NORMALIZER_COMPRESSOR
|
static int |
NORMALIZER_LIN_AMPL
|
static int |
NORMALIZER_NONE
NORMALIZER TYP |
static int |
RATIO
|
static int |
RELEASE_TIME
|
static boolean |
REPEAT_PLAYBACK
|
static java.lang.String |
START_PARAMS_FILE
|
static int |
VOLUME
|
Method Summary | |
---|---|
AbstractAnalyser |
getAnalyser(javax.sound.sampled.AudioFormat format)
returns the defined analyser. |
int |
getAnalyserType()
returns the analyser type. |
int |
getAttackTimeInMilis()
returns the attacktime in milisecond. |
float |
getCompression()
returns the compressionrate for the compressor. |
int |
getDistanceChannels()
returns the number of target channels for the distancemixer. |
float |
getDurationInSeconds()
time a track is played before change in seconds. |
float |
getFadeTimeInSeconds()
time it takes for the crossfade of two tracks in seconds. |
float |
getMasterFadeInInSeconds()
returns the master fadeIn duration in seconds. |
int |
getMasterVolume()
returns the master volume. |
AbstractMUX |
getMultiplexer(IAudioFileCollection list)
returns the defined mux. |
int |
getMuxType()
returns the mux type. |
INormalizer |
getNormalizer(IAudioFileCollection collection)
returns the defined Normalizer. |
int |
getReleaseTimeInMilis()
returns the releasetime in miliseconds. |
java.io.File |
getSampleDirectory()
returns the directory of audiofiles. |
int |
getTargetChannelNO()
returns the number of channels for the sequence dynamic mux. |
boolean |
getThreadLoading()
returns true when threadloading is enabled. |
int |
getThreadNO()
returns the number of parallel analysed tracks when threadLoading is enabled. |
java.util.Set<java.lang.String> |
getValidSoundFileExtensions()
returns all valid fileextensions. |
int |
getVolume()
returns the volume. |
static Constant |
loadInstance(java.lang.String props_dir)
static loader |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int RATIO
public static final int ATTACK_TIME
public static final int RELEASE_TIME
public static final int DURATION
public static final int FADE_TIME
public static final int VOLUME
public static final int CHANNEL_NO
public static final int COMPRESSION
public static final int DISTANCE_CHANNELS
public static final int MASTER_VOLUME
public static final int MUX_SS
public static final int MUX_DS
public static final int MUX_SM
public static final int MUX_DM
public static final int DIST_MUX
public static final int ANALYSER_NONE
public static final int ANALYSER_MIN_MAX
public static final int ANALYSER_STD
public static final int MEAN_ARITHMETIC
public static final int MEAN_RMS
public static final int NORMALIZER_NONE
public static final int NORMALIZER_LIN_AMPL
public static final int NORMALIZER_COMPRESSOR
public static final java.lang.String COORDINATE_FILE
public static java.lang.String START_PARAMS_FILE
public static final java.lang.String LANGUAGE_DIR
public static boolean REPEAT_PLAYBACK
Method Detail |
---|
public static Constant loadInstance(java.lang.String props_dir) throws InvalidPropertiesException, java.io.IOException
java.io.IOException
java.io.FileNotFoundException
java.io.IOException
InvalidPropertiesException
public java.util.Set<java.lang.String> getValidSoundFileExtensions()
public java.io.File getSampleDirectory()
public float getDurationInSeconds()
SettingControl
getDurationInSeconds
in interface SettingControl
public float getMasterFadeInInSeconds()
SettingControl
getMasterFadeInInSeconds
in interface SettingControl
public float getFadeTimeInSeconds()
SettingControl
getFadeTimeInSeconds
in interface SettingControl
public int getTargetChannelNO()
SettingControl
getTargetChannelNO
in interface SettingControl
public int getVolume()
SettingControl
getVolume
in interface SettingControl
public int getMasterVolume()
SettingControl
getMasterVolume
in interface SettingControl
public float getCompression()
SettingControl
getCompression
in interface SettingControl
public int getAttackTimeInMilis()
SettingControl
getAttackTimeInMilis
in interface SettingControl
public int getReleaseTimeInMilis()
SettingControl
getReleaseTimeInMilis
in interface SettingControl
public AbstractMUX getMultiplexer(IAudioFileCollection list)
SettingControl
getMultiplexer
in interface SettingControl
public int getDistanceChannels()
SettingControl
getDistanceChannels
in interface SettingControl
public int getMuxType()
SettingControl
getMuxType
in interface SettingControl
public AbstractAnalyser getAnalyser(javax.sound.sampled.AudioFormat format)
SettingControl
getAnalyser
in interface SettingControl
public int getAnalyserType()
SettingControl
getAnalyserType
in interface SettingControl
public INormalizer getNormalizer(IAudioFileCollection collection)
SettingControl
getNormalizer
in interface SettingControl
public boolean getThreadLoading()
SettingControl
getThreadLoading
in interface SettingControl
public int getThreadNO()
SettingControl
getThreadNO
in interface SettingControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |