|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.norm.AbstractCompressor
public abstract class AbstractCompressor
The class AbstractCompressor.java specifies a Compressor as specified in:
http://en.wikipedia.org/wiki/Audio_level_compression
It Reduces th dynamic range of the inputfile. all samples are transformed to UNSIGNED!
Constructor Summary | |
---|---|
AbstractCompressor(float ratio,
int threshold_top,
int threshold_bot,
int attackInMs,
int releaseInMs)
Constructor |
Method Summary | |
---|---|
INormalizer |
clone()
returns a clone of the current instance. |
int |
normalizeSample(int sample,
AudioFile file,
IAudioFileCollection list)
normalizes the sample using the defined compress and no_compress functions |
void |
setAudioFormat(javax.sound.sampled.AudioFormat format)
sets the audioformat |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface as.clynx.audio.norm.INormalizer |
---|
update |
Constructor Detail |
---|
public AbstractCompressor(float ratio, int threshold_top, int threshold_bot, int attackInMs, int releaseInMs)
ratio
- threshold_top
- threshold_bot
- attackInMs
- releaseInMs
- Method Detail |
---|
public int normalizeSample(int sample, AudioFile file, IAudioFileCollection list)
normalizeSample
in interface INormalizer
public void setAudioFormat(javax.sound.sampled.AudioFormat format)
INormalizer
setAudioFormat
in interface INormalizer
public INormalizer clone()
INormalizer
clone
in interface INormalizer
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |