edu.cmu.sphinx.frontend.util
Class VUMeter
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VUMeter
public VUMeter()
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)