Tabnine Logo
Equalizer.getBandFactor
Code IndexAdd Tabnine to your IDE (free)

How to use
getBandFactor
method
in
javazoom.jl.decoder.Equalizer

Best Java code snippets using javazoom.jl.decoder.Equalizer.getBandFactor (Showing top 4 results out of 315)

origin: tulskiy/musique

/**
 * Retrieves an array of floats whose values represent a
 * scaling factor that can be applied to linear samples
 * in each band to provide the equalization represented by
 * this instance.
 *
 * @return an array of factors that can be applied to the
 * subbands.
 */
float[] getBandFactors() {
  float[] factors = new float[BANDS];
  for (int i = 0, maxCount = BANDS; i < maxCount; i++) {
    factors[i] = getBandFactor(settings[i]);
  }
  return factors;
}
origin: javazoom/jlayer

/**
 * Retrieves an array of floats whose values represent a
 * scaling factor that can be applied to linear samples
 * in each band to provide the equalization represented by
 * this instance. 
 * 
 * @return    an array of factors that can be applied to the
 *            subbands.
 */
float[] getBandFactors()
{
  float[] factors = new float[BANDS];
  for (int i=0, maxCount=BANDS; i<maxCount; i++)
  {
    factors[i] = getBandFactor(settings[i]);
  }
  
  return factors;
}
 
origin: com.googlecode.soundlibs/jlayer

/**
 * Retrieves an array of floats whose values represent a
 * scaling factor that can be applied to linear samples
 * in each band to provide the equalization represented by
 * this instance. 
 * 
 * @return    an array of factors that can be applied to the
 *            subbands.
 */
float[] getBandFactors()
{
  float[] factors = new float[BANDS];
  for (int i=0, maxCount=BANDS; i<maxCount; i++)
  {
    factors[i] = getBandFactor(settings[i]);
  }
  
  return factors;
}
 
origin: pdudits/soundlibs

/**
 * Retrieves an array of floats whose values represent a
 * scaling factor that can be applied to linear samples
 * in each band to provide the equalization represented by
 * this instance. 
 * 
 * @return    an array of factors that can be applied to the
 *            subbands.
 */
float[] getBandFactors()
{
  float[] factors = new float[BANDS];
  for (int i=0, maxCount=BANDS; i<maxCount; i++)
  {
    factors[i] = getBandFactor(settings[i]);
  }
  
  return factors;
}
 
javazoom.jl.decoderEqualizergetBandFactor

Javadoc

Converts an equalizer band setting to a sample factor. The factor is determined by the function f = 2^n where n is the equalizer band setting in the range [-1.0,1.0].

Popular methods of Equalizer

  • getBandFactors
    Retrieves an array of floats whose values represent a scaling factor that can be applied to linear s
  • limit
  • reset
    Sets all bands to 0.0
  • setFrom
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now