final case class PV_JensenAndersen(rate: Rate, chain: GE, centroid: GE = 0.25f, hfe: GE = 0.25f, hfc: GE = 0.25f, flux: GE = 0.25f, thresh: GE = 1.0f, waitTime: GE = 0.04f) 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
- Alphabetic
- By Inheritance
- PV_JensenAndersen
- Serializable
- IsIndividual
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PV_JensenAndersen(rate: Rate, chain: GE, centroid: GE = 0.25f, hfe: GE = 0.25f, hfc: GE = 0.25f, flux: GE = 0.25f, thresh: GE = 1.0f, waitTime: GE = 0.04f)
- 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
- val centroid: GE
- val chain: GE
- val flux: GE
- lazy val hashCode: Int
- Definition Classes
- UGenSource → AnyRef → Any
- val hfc: GE
- val hfe: GE
- final def name: String
- Definition Classes
- UGenSource
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rate: Rate
- Definition Classes
- PV_JensenAndersen → GE
- val thresh: GE
- val waitTime: GE