de.sciss.dsp

Util

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Ln10: Double

    logarithmus naturalis of 10

  7. val Ln2: Double

    logarithmus naturalis of 2

  8. val Pi2: Double

    2 * PI (Outline of the unit circle)

  9. def ampdb(linear: Double): Double

    Linear-to-Decibel conversion

    Linear-to-Decibel conversion

    linear

    volume linear

    returns

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

  10. final def asInstanceOf[T0]: T0

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

    Energie berechnen (sum(x^2))

  12. def clone(): AnyRef

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

    Decibel-to-Linear conversion.

    Decibel-to-Linear conversion.

    dB

    volume in decibels

    returns

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

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

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

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

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

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

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

    Definition Classes
    Any
  20. def log2(value: Double): Double

    Calculate the logarithm with base 2.

    Calculate the logarithm with base 2.

    value

    the input value

    returns

    the log2 of the value

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

    Definition Classes
    AnyRef
  22. def nextPowerOfTwo(value: Int): Int

    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

  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped