Object

de.sciss.dsp

Util

Related Doc: package dsp

Permalink

object Util

This is a helper object containing utility functions for common math operations and constants

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Ln10: Double

    Permalink

    logarithmus naturalis of 10

  5. val Ln2: Double

    Permalink

    logarithmus naturalis of 2

  6. val Pi2: Double

    Permalink

    2 * Pi (Outline of the unit circle)

  7. def ampdb(linear: Double): Double

    Permalink

    Linear-to-Decibel conversion

    Linear-to-Decibel conversion

    linear

    volume linear

    returns

    volume in decibals, such that linearToDB( 2.0 ) returns c. +6

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def calcEnergy(a: Array[Float], off: Int, length: Int): Double

    Permalink

    Calculates energy of a signal (sum(x*x)).

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def dbamp(dB: Double): Double

    Permalink

    Decibel-to-Linear conversion.

    Decibel-to-Linear conversion.

    dB

    volume in decibels

    returns

    volume linear, such that dBToLinear( -6 ) returns c. 0.5

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def log2(value: Double): Double

    Permalink

    Calculates the logarithm with base 2.

    Calculates the logarithm with base 2.

    value

    the input value

    returns

    the log2 of the value

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def nextPowerOfTwo(value: Int): Int

    Permalink

    Calculates an integer that is a power of two and is equal or greater than a given integer

    Calculates an integer that is a power of two and is equal or greater than a given integer

    value

    the minimum value to return

    returns

    an integer 2^n which is equal or greater than x

  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped