de.sciss.synth.ugen

PV_JensenAndersen

final case class PV_JensenAndersen(rate: Rate, chain: GE, centroid: GE = synth.this.GE.const(0.25), hfe: GE = synth.this.GE.const(0.25), hfc: GE = synth.this.GE.const(0.25), flux: GE = synth.this.GE.const(0.25), thresh: GE = synth.this.GE.const(1.0), waitTime: GE = synth.this.GE.const(0.04)) extends SingleOut with IsIndividual with Product with Serializable

An FFT based onset detector UGen using a mix of extracted features. It is based on work described in Jensen and Andersen (2003), "Real-time Beat Estimation Using Feature Extraction," in: Proceedings of the Computer Music Modeling and Retrieval Symposium.

First order derivatives of the features are taken. The threshold may need to be set low to pick up on changes.

chain

the fft signal (buffer) to analyze

centroid

proportion (0 to 1) of spectral centroid feature

hfe

proportion (0 to 1) of high frequency energy feature

hfc

proportion (0 to 1) of high frequency content feature

flux

proportion (0 to 1) of spectral flux feature

thresh

threshold level for detection

waitTime

after an onset is detected, further detections are suppressed for this period in seconds, preventing multiple rapid triggers

See also

PV_HainsworthFoote

Onsets

Linear Supertypes
Serializable, Serializable, IsIndividual, SingleOut, SomeOut, GE.Lazy, GE, UGenSource[UGenInLike], Expander[UGenInLike], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PV_JensenAndersen
  2. Serializable
  3. Serializable
  4. IsIndividual
  5. SingleOut
  6. SomeOut
  7. Lazy
  8. GE
  9. UGenSource
  10. Expander
  11. Lazy
  12. Product
  13. Equals
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PV_JensenAndersen(rate: Rate, chain: GE, centroid: GE = synth.this.GE.const(0.25), hfe: GE = synth.this.GE.const(0.25), hfc: GE = synth.this.GE.const(0.25), flux: GE = synth.this.GE.const(0.25), thresh: GE = synth.this.GE.const(1.0), waitTime: GE = synth.this.GE.const(0.04))

    chain

    the fft signal (buffer) to analyze

    centroid

    proportion (0 to 1) of spectral centroid feature

    hfe

    proportion (0 to 1) of high frequency energy feature

    hfc

    proportion (0 to 1) of high frequency content feature

    flux

    proportion (0 to 1) of spectral flux feature

    thresh

    threshold level for detection

    waitTime

    after an onset is detected, further detections are suppressed for this period in seconds, preventing multiple rapid triggers

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val centroid: GE

    proportion (0 to 1) of spectral centroid feature

  8. val chain: GE

    the fft signal (buffer) to analyze

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val flux: GE

    proportion (0 to 1) of spectral flux feature

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. lazy val hashCode: Int

    Definition Classes
    UGenSource → AnyRef → Any
  15. val hfc: GE

    proportion (0 to 1) of high frequency content feature

  16. val hfe: GE

    proportion (0 to 1) of high frequency energy feature

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def makeUGens: UGenInLike

    Attributes
    protected
    Definition Classes
    PV_JensenAndersen → Expander
  19. final def name: String

    Definition Classes
    UGenSource
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Definition Classes
    AnyRef
  23. val rate: Rate

    Definition Classes
    PV_JensenAndersen → GE
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val thresh: GE

    threshold level for detection

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val waitTime: GE

    after an onset is detected, further detections are suppressed for this period in seconds, preventing multiple rapid triggers

Inherited from Serializable

Inherited from Serializable

Inherited from IsIndividual

Inherited from SingleOut

Inherited from SomeOut

Inherited from GE.Lazy

Inherited from GE

Inherited from UGenSource[UGenInLike]

Inherited from Expander[UGenInLike]

Inherited from Lazy

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped