|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.statistic.AbstractAnalyser
public abstract class AbstractAnalyser
The abstract class AbstractAnalyser.java is extended by all classes which analyse an audiofile for normalization. the result is a max and min value, which is passed to the normalizer.
Constructor Summary | |
---|---|
AbstractAnalyser(javax.sound.sampled.AudioFormat format)
|
Method Summary | |
---|---|
void |
analyse(byte[] byteArray,
int offset)
analyses the bytearray of samplestream |
boolean |
canLoad(java.lang.String filename)
sets the name of the audiofile. if was allready analysed: use the existing result. it returnes true when the file was allready analysed else false. |
int |
getMaximum()
returns the upper boundary |
int |
getMaxSampleValue()
returns the maximal possible sample value |
int |
getMinimum()
returns the lower boundary |
int |
getMinSampleValue()
returns the minimal possible sample value |
void |
save()
saves the result of the analysis |
java.lang.String |
toString()
returns all logged results |
void |
update(int source,
java.lang.Object value)
updates parameter in runtime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractAnalyser(javax.sound.sampled.AudioFormat format)
Method Detail |
---|
public boolean canLoad(java.lang.String filename)
filename
-
public void analyse(byte[] byteArray, int offset)
byteArray
- offset
- public int getMaxSampleValue()
public int getMinSampleValue()
public int getMaximum()
public int getMinimum()
public void update(int source, java.lang.Object value)
source
- value
- public void save()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |