as.clynx.audio.norm
Interface INormalizer

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AbstractCompressor, Compressor, LinAmplNormalizer, NoNormalizer

public interface INormalizer
extends java.lang.Cloneable

The interface INormalizer.java is implemented by all instances which normalize audiotracks.

Version:
cLynx v.1.2, JDK 6.0: 12.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Method Summary
 INormalizer clone()
          returns a clone of the current instance.
 int normalizeSample(int sample, AudioFile file, IAudioFileCollection list)
          returns the normalized samplevalue
 void setAudioFormat(javax.sound.sampled.AudioFormat format)
          sets the audioformat
 void update(int id, java.lang.Object value)
          updates the modifyable parameters of the normalizer instance in runtime.
 

Method Detail

normalizeSample

int normalizeSample(int sample,
                    AudioFile file,
                    IAudioFileCollection list)
returns the normalized samplevalue

Parameters:
sample -
file -
list -
Returns:
the normalized samplevalue

setAudioFormat

void setAudioFormat(javax.sound.sampled.AudioFormat format)
sets the audioformat

Parameters:
format -

clone

INormalizer clone()
returns a clone of the current instance.

Returns:
a clone of the current instance.

update

void update(int id,
            java.lang.Object value)
updates the modifyable parameters of the normalizer instance in runtime.

Parameters:
id -
value -