stuerp/foo_vis_spectrum_analyzer
À propos
A foobar2000 component that displays a spectrum analyzer.
Design et médiasWhat you can do
- Spectrum Analyzer (Bars, Curve, Radial Bars, Radial Curve), Spectrogram, Peak / RMS, Balance / Correlation, Oscilloscope, Goniometer, Bit Meter and some Old Skool Eye Candy visualizations.
- Fast Fourier (FFT), Constant-Q (CQT), Sliding Windowed Infinite Fourier (SWIFT) and Analog-style transforms
- Multiple frequency range and smoothing options
- Multiple stacked or overlapping graphs
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalfoo_vis_spectrum_analyzer
foo_vis_spectrum_analyzer is a foobar2000 component that started as a spectrum analyzer panel.
It is an attempt to recreate the foo_musical_spectrum component by fismineur and the Audio Spectrum project for foobar2000 64-bit.
Over time other visualisations were added.
Click the image above to view the gallery of the visualizations.
Click the image above to view the gallery of the Eye Candy effects.
Features
- Spectrum Analyzer (Bars, Curve, Radial Bars, Radial Curve), Spectrogram, Peak / RMS, Balance / Correlation, Oscilloscope, Goniometer, Bit Meter and some Old Skool Eye Candy visualizations.
- Fast Fourier (FFT), Constant-Q (CQT), Sliding Windowed Infinite Fourier (SWIFT) and Analog-style transforms
- Multiple frequency range and smoothing options
- Multiple stacked or overlapping graphs
- Styling of all visual elements
- Artwork background and color extraction
- DirectX rendering.
- Supports the Default User Interface (DUI) and the Columns User Interface (CUI).
- Supports dark mode.
- Supports foobar2000 2.0 and later (32 and 64-bit version).
Environment
- Tested on foobar2000 v2.0 or later (32 or 64-bit).

- Tested on Microsoft Windows 10 and later.
- Tested with Columns UI 2.1.0.
Getting started
- Double-click
foo_vis_spectrum_analyzer.fbk2-component.
or
- Import
foo_vis_spectrum_analyzer.fbk2-componentinto foobar2000 using the "File / Preferences / Components / Install..." menu item.
Usage
You can find the user guide here.
Developing
Requirements
To build the code you need:
- Microsoft Visual Studio 2026 Community Edition or later
- foobar2000 SDK 2026-09-17
- Windows Template Library (WTL) 10.0.10320
- Columns UI SDK 8.0.0
The following libraries are included in the repository:
To create the deployment package you need:
- PowerShell 7.2 or later
Setup
Create the following directory structure:
3rdParty
columns_ui-sdk
WTL10_10320
bin
bin.x86
foo_vis_spectrum_analyzer
int
out
sdk
3rdParty\columns_ui-sdkcontains the Columns UI SDK 7.0.0.3rdParty\WTL10_10320contains WTL 10.0.10320.bincontains a portable version of foobar2000 64-bit for debugging purposes.bin.x86contains a portable version of foobar2000 32-bit for debugging purposes.foo_vis_spectrum_analyzercontains the Git repository.
intreceives the intermedidiate files of the build.
outreceives a deployable version of the component.sdkcontains the foobar2000 SDK.
Building
Open foo_vis_spectrum_analyzer.sln with Visual Studio and build the solution.
Packaging
To create the component first build the x86 configuration and next the x64 configuration.
Change Log
v0.14.0.0, 2026-11-13
- New: Composite three-tier FFT
- It uses all the settings of the normal FFT but it splits the spectrum into three logarithmic ranges.
- The bass tier uses four times the number of bins; the middle tier uses two times the number of bin.
- New: Decades frequency distribution. It generates frequency bands whose center frequency is a multiple of 10, 100 or 1000 Hz.
- New: Hop size support for the spectrum analyzers.
- The
Hop size fractionparameter specifies a hop size relative to the FFT size. Smaller hops (larger fraction) produce more frequent analysis updates. - The default value is 0% which results in the old behavior.
- The
- New: Reassignment sharpening. Github Issue 63.
- Produces a sharper spectrum by relocating energy to a bin that represents more accurately the frequency at the cost of extra processing.
- Works for an FFT and Composite FFT using Standard coefficient mapping.
- Disabled by default.
- New: Peak detector. It identifies the strongest local maxima in the current frequency spectrum.
- Enable it using the configuration dialog on the Transform page.
- Two new styles (Peak Marker and Peak Text) allow you to customize the rendering.
- New: Alternate full screen mode for DUI. It reuses the current window (and preset) instead of starting a second instance.
- Enable it using the configuration dialog on the Common page.
- Double click the left mouse button to enter fullscreen mode. Doubleclick again or press Escape to exit.
- You can use the Page Up and Page Down key to move the window between monitors.
- New: Don't render anything to reduce CPU usage when component window is completely covered.
- New: Balance / Correlation Meter uses the Fall Speed setting instead of a fixed decay speed.
- New: Eye Candy visualizer with multiple effects in 5 categories.
- Improved: The alignment of the X-axis frequency labels with the band centers.
- Improved: Decades frequency setting generates at least the requested number of frequency bands.
- Improved: The composite three-tier FFT analyzer cross-fades between the tiers using ratios derived from the FFT's bin width instead of fixed ratios.
- Improved: Goniometer Mono and Triband modes react better to the color changes of the Signal style.
- Improved: Oscilloscope and Goniometer now supports local styles and Overlap mode.
- Improved: Streamlined the high-DPI calculations.
- Changed: Refactored the whole audio processor hierarchy to facilitate maintenance, improve performance and make future expansion easier.
- Changed: Various little tweaks and corrections to the peak marker animation.
- Fixed: Styles that use the artwork colors were not correctly initialized at startup. (Regression)
- Fixed: Peak Meter render bug when multiple graphs are used in the layout. It was caused by unfinished code for this use case.
- Fixed: Spectrogram showed spectrum residue to the left and top when scrolling in high-DPI scenarios.
- Fixed: Cosmetic error. The label of the top tick of a Y-axis of the spectrogram was cut off when the tick aligned with the top of the viewport.
- Fixed: Peak Meter static content did not react to changed color selections.
- Fixed: Spectrogram showed spectrum residue to the left and top when scrolling in high-DPI scenarios. (Confirmed fix).
- Fixed: The input ring buffer did not handle non-radix 2 FFT's correctly.
- Fixed: Static content did not always respond to color changes.
- Fixed: Oscilloscope and Goniometer did not position themselves correctly in a multiple graph scenario.
You can read the full history here.
Acknowledgements / Credits
- Peter Pawlowski for the foobar2000 audio player.

- TF3RDL for the advice, the help and his:
- Project Nayuki
- Holger Stenger for foo_vis_oscilloscope.
- fismineur for foo_musical_spectrum that inspired this component.
- Oleg V. Polikarpotchkin and Peter Lee for their Bezier Spline article.
- Bedapisl for Fast ColorThief.
- Niels Lohmann for JSON for Modern C++.
- Anton Mikhailov for the Turbo color map.
- Matplotlib for the Perceptually Uniform Sequential color maps.
- PosixAlchemist for cli-visualizer
Reference Material
- The Audio Frequency Spectrum Explained
- Fast Fourier Transformation FFT - Basics
- Sine Tone Generator
- A440
- Constant-Q transform
- Mel-frequency cepstrum
- Mel scale
- Sliding windowed infinite Fourier transform
- Lorenz system
Test Material
Links
- Home page: https://github.com/stuerp/foo_vis_spectrum_analyzer
- Repository: https://github.com/stuerp/foo_vis_spectrum_analyzer.git
- Issue tracker: https://github.com/stuerp/foo_vis_spectrum_analyzer/issues
- Support: https://hydrogenaudio.org/index.php/topic,125031.0.html.
License
Explorer des projets similaires
Chargement…

