edu.cmu.sphinx.frontend.util
Class VUMeter

java.lang.Object
  extended by edu.cmu.sphinx.frontend.util.VUMeter

public class VUMeter
extends java.lang.Object

Copyright 1999-2006 Carnegie Mellon University. Portions Copyright 2002 Sun Microsystems, Inc. Portions Copyright 2002 Mitsubishi Electric Research Laboratories. All Rights Reserved. Use is subject to license terms.

See the file "license.terms" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.

User: Peter Wolf Date: Mar 9, 2006 Time: 9:30:52 PM


Constructor Summary
VUMeter()
           
 
Method Summary
 void calculateVULevels(byte[] data, int offset, int cnt)
           
 void calculateVULevels(Data data)
           
 double getAverageDB()
           
 boolean getIsClipping()
           
 double getMaxDB()
           
 double getPeakDB()
           
 double getRmsDB()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VUMeter

public VUMeter()
Method Detail

getRmsDB

public final double getRmsDB()

getAverageDB

public final double getAverageDB()

getPeakDB

public final double getPeakDB()

getIsClipping

public final boolean getIsClipping()

getMaxDB

public final double getMaxDB()

calculateVULevels

public void calculateVULevels(Data data)

calculateVULevels

public void calculateVULevels(byte[] data,
                              int offset,
                              int cnt)