eyecandy 3.0.1

dotnet add package eyecandy --version 3.0.1                
NuGet\Install-Package eyecandy -Version 3.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="eyecandy" Version="3.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add eyecandy --version 3.0.1                
#r "nuget: eyecandy, 3.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install eyecandy as a Cake Addin
#addin nuget:?package=eyecandy&version=3.0.1

// Install eyecandy as a Cake Tool
#tool nuget:?package=eyecandy&version=3.0.1                

eyecandy NuGet

.NET library for processing audio playback as OpenGL textures

Version 3 does not require audio loopback drivers for Windows! Loopback is internal!

If you're interested in audio visualization similar to the old WinAmp plugins (Milkdrop!), or more recently, websites like Shadertoy or VertexShaderArt, then you've come to the right place. Although this is a fully independent library, it is the foundation for the monkey-hi-hat music visualization application, and the accompanying shaders in my Volt's Laboratory repository.

This library does all the hard work of capturing live-playback audio and producing different representations of the sound data as OpenGL textures. On modern Windows 10 64-bit hardware, 4-digit frame rates are not unusual. While Linux isn't officially supported yet, it does work, and it performs well enough that I have used it on a 32-bit Raspberry Pi4B, in some cases attaining 200+ FPS (due to poor/limited GPUs, the Pi will not be supported even after Linux support is officially available).

Please refer to the repository wiki for usage, configuration, and other details. The demo project is also a good reference, and the library's public API is fully documented. There is even more information in the monkey-hi-hat wiki that will be of interest to library consumers.

Demos

The repository's demo project has a lot of useful utilities, and illustrates different ways to use the library. Here is the help output (run the demo program without args to see this):

demo [type] [options]

[type]
peaks           Peak audio capture values (use for configuration)
text            Text-based audio visualizations
history         Raw history-texture dumps
wave            Raw PCM wave audio visualization
freq            Frequency magnitude and volume history (multiple shaders)
vert            VertexShaderArt-style integer-array vertex shader (no audio)
frag            Shadertoy-style pixel fragment shader
webaudio        Compares WebAudio pseudo-Decibels to pure FFT Decibels

info            OpenAL information (devices, defaults, extensions, etc.)
                (Windows requires a loopback driver; no WASAPI equivalent)

[options]
F               Full-screen mode
P               Output Process ID
O               Windows: Capture audio with OpenAL-Soft instead of WASAPI
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 68 11/4/2024
3.0.0 146 1/27/2024
2.0.6 216 12/3/2023
2.0.5 151 10/20/2023
2.0.3 123 9/16/2023
2.0.0 147 9/7/2023
1.0.82 168 9/2/2023
1.0.8 155 7/31/2023
1.0.7 140 7/30/2023
1.0.6 150 7/27/2023
1.0.5 135 7/27/2023
1.0.4 149 7/27/2023
1.0.3 151 7/23/2023
1.0.2 146 7/22/2023
1.0.1 154 7/20/2023
1.0.0 161 7/11/2023