AudioVisualizer 1.1.0
dotnet add package AudioVisualizer --version 1.1.0
NuGet\Install-Package AudioVisualizer -Version 1.1.0
<PackageReference Include="AudioVisualizer" Version="1.1.0" />
<PackageVersion Include="AudioVisualizer" Version="1.1.0" />
<PackageReference Include="AudioVisualizer" />
paket add AudioVisualizer --version 1.1.0
#r "nuget: AudioVisualizer, 1.1.0"
#:package AudioVisualizer@1.1.0
#addin nuget:?package=AudioVisualizer&version=1.1.0
#tool nuget:?package=AudioVisualizer&version=1.1.0
AudioVisualizer
A modern WinUI 3 audio visualizer control that displays real-time audio visualization using FFT (Fast Fourier Transform) analysis. Perfect for media players, audio applications, and entertainment software on Windows.
Features
- Real-time WASAPI loopback capture with 12-band FFT analysis (log-spaced ~20 Hz–14 kHz)
- Mirrored bar layout (bass in the center, highs outward; bars grow above and below center)
- Customizable colors via WinUI theme resources, with live updates for theme and accent changes
Pausedproperty to pause or resume the Win2D animation- Automatic capture rebind when the default output device changes (e.g. speakers ↔ Bluetooth)
- Smooth animations using Win2D rendering
- Responsive design that adapts to any container size
- Built for WinUI 3 on Windows 10+ (x86, x64, and ARM64)
Requirements
- Windows 10.0.17763 or later
- .NET 8.0 or later
- A WinUI 3 host app (Windows App SDK)
Installation
Nuget: https://www.nuget.org/packages/AudioVisualizer
Install via NuGet Package Manager:
dotnet add package AudioVisualizer --version 1.1.0
Or via Package Manager Console:
Install-Package AudioVisualizer -Version 1.1.0
Current stable version: 1.1.0
Quick Start
Add the visualizer to your XAML page:
<Page
xmlns:local="using:AudioVisualizer"
...>
<Grid>
<local:AudioVisualizer
Paused="False"
VisualizerBackgroundBrush="Transparent"
VisualizerBarsBrush="{ThemeResource AccentFillColorDefaultBrush}" />
</Grid>
</Page>
The visualizer will automatically capture system audio and display the real-time visualization.
Customization
You can customize appearance and playback with these properties:
- VisualizerBackgroundBrush - Background color of the visualization area
- VisualizerBarsBrush - Color of the frequency bars (prefer a
SolidColorBrushor theme resource for live accent/theme updates) - Paused - When
true, pauses the Win2D animation; whenfalse, resumes it
Example:
<local:AudioVisualizer
Paused="False"
VisualizerBackgroundBrush="Black"
VisualizerBarsBrush="Cyan" />
Audio device changes
When the default Windows output device changes, the control restarts loopback capture on the new endpoint automatically. Bars should resume within a few seconds without restarting the app.
Dependencies
This package targets net8.0-windows10.0.26100.0 and brings:
- NAudio 2.3.0
- Microsoft.Graphics.Win2D 1.4.0
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows10.0.26100 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows10.0.26100
- Microsoft.Graphics.Win2D (>= 1.4.0)
- NAudio (>= 2.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.