foo_smart_tempo ~ Foobar2000 Intelligent Rhythm Analyzer


The Core Philosophy (How it works)
Instead of guessing blindly, foo_smart_tempo reads your %genre% tag. If it sees “Drum & Bass”, it tells the engine: “Focus on the high frequencies (Hi-Hats/Snares), expect a tempo between 150-185 BPM, and DO NOT fold the rhythm!” If it sees “Techno”, it says: “Focus on the Complex band (Kickdrum), expect 115-145 BPM, and 3:2 scaling is allowed.”

Analysis Chain & DSP Core Features

  • Aubio-Powered Spectral Core: High-precision FFT & transient extraction.
  • Dual-Band Frequency Analysis: Simultaneous HFC (High-Frequency Content) & Complex onset detection.
  • Frequency-Bias Weighted Mixing: Adaptive focus depending on the genre (e.g., Kickdrum vs. Hi-Hat focus).
  • Gaussian Periodicity Weighting: High-resolution center-seeking algorithm for candidate evaluation.
  • Polyrhythm Grid Folding: Center-Seeking engine with 4:3, 3:2, and 3:4 support.
  • Smart Weighted Confidence Score: Non-linear DSP + Logic matching.
  • Adaptive 22kHz DSP Downsampling: Time-constant window scaling for maximum performance.
  • High-Performance Multi-Threading: Lock-free worker pools & a zero-allocation LRU cache.
  • Resilient Architecture: Sample-accurate monotonic ETA & crash-proof I/O handling.

UI & Workflow Features

  • Advanced Genre-to-BPM Routing: Regex abstraction layer under the hood.
  • Custom Smart Genre Rules: Build your own routing logic from scratch! You can easily define rules using simple, semicolon-separated lists (e.g., Synthwave; Chillwave), or unleash the full power of raw Regular Expressions (e.g., ^Deep.*House$) for ultimate control.
  • Regex Wildcard Magic: You don’t need to list every subgenre manually. Typing Trance automatically catches Vocal Trance, Progressive Trance, Hard-Trance, etc.
  • Intelligent WTL Import Wizard: Import tags directly from your library into the rule engine. The wizard actively attempts to match your custom tags to our pre-configured standard DSP parameters (which you can always edit later). Combined with token-level deduplication and smart parameter-merging, your rule list stays clean and perfectly organized.
  • Native UI: Full Dark Mode & High-DPI support.

hydrogenaudio.org/index.php/topic,129325.0

Comments welcome