StarFlare.AudioVisualizer.WinForm
1.0.99
dotnet add package StarFlare.AudioVisualizer.WinForm --version 1.0.99
NuGet\Install-Package StarFlare.AudioVisualizer.WinForm -Version 1.0.99
<PackageReference Include="StarFlare.AudioVisualizer.WinForm" Version="1.0.99" />
<PackageVersion Include="StarFlare.AudioVisualizer.WinForm" Version="1.0.99" />
<PackageReference Include="StarFlare.AudioVisualizer.WinForm" />
paket add StarFlare.AudioVisualizer.WinForm --version 1.0.99
#r "nuget: StarFlare.AudioVisualizer.WinForm, 1.0.99"
#:package StarFlare.AudioVisualizer.WinForm@1.0.99
#addin nuget:?package=StarFlare.AudioVisualizer.WinForm&version=1.0.99
#tool nuget:?package=StarFlare.AudioVisualizer.WinForm&version=1.0.99
Getting Started
Step 1: Import the Core and WinForms SDK
System Requirements
List the basic environment requirements needed to run the project:
- Operating System: Windows 10 or higher
- .NET Version: .NET 6.0 or higher
NuGet Package Installation
To use the Realtime control, you need to install the following NuGet packages:
StarFlare.AudioVisualizer.Core
StarFlare.AudioVisualizer.WinForm
StarFlare.AudioVisualizer.WPF
You can install these packages by running the following commands in the NuGet Package Manager Console:
Install-Package StarFlare.AudioVisualizer.Core
Install-Package StarFlare.AudioVisualizer.WinForm
Install-Package StarFlare.AudioVisualizer.WPF
Alternatively, you can add them via the Package Manager UI by searching for each package.
Usage
using AudioVisualizer;
using AudioVisualizer.WinForm;
Step 2: Add the RealtimeApiWinFormControl Control
Drag and drop the AudioVisualizerView
onto your form or add it programmatically:
AudioVisualizerView audioVisualizer = new AudioVisualizerView();
this.Controls.Add(audioVisualizer );
Step 3: Get Hook up microphone and speaker
private void MainForm_Load(object sender, EventArgs e)
{
// Speaker voice capture, Specify capture wave format: mono, 32-bit depth, IeeeFloat encoding, 8192 sample rate.
capture = new WasapiLoopbackCapture()
{
WaveFormat = WaveFormat.CreateIeeeFloatWaveFormat(8192, 1)
};
capture.DataAvailable += Capture_DataAvailable;
// Mic speech capture
speechWaveIn = new WaveInEvent
{
WaveFormat = WaveFormat.CreateIeeeFloatWaveFormat(8192, 1)
};
speechWaveIn.DataAvailable += Capture_DataAvailable;
audioVisualizer1.AudioSampleRate = capture.WaveFormat.SampleRate;
audioVisualizer1.Scale = 5;
audioVisualizer1.VisualEffect = VisualEffect.SpectrumBar;
audioVisualizer1.Start();
capture.StartRecording();
speechWaveIn.StartRecording();
}
License
Licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
-
net6.0-windows7.0
- StarFlare.AudioVisualizer.Core (>= 1.0.99)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StarFlare.AudioVisualizer.WinForm:
Package | Downloads |
---|---|
Navbot.RealtimeApi.Dotnet.SDK.WinForm
Your voice conversation assistant |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.99 | 122 | 1/23/2025 |
1.0.98 | 111 | 1/20/2025 |
1.0.85 | 104 | 1/18/2025 |
1.0.84 | 159 | 1/16/2025 |
1.0.83 | 115 | 1/10/2025 |
1.0.82 | 102 | 1/10/2025 |
1.0.81 | 97 | 1/10/2025 |
1.0.80 | 100 | 1/8/2025 |
1.0.79 | 96 | 1/8/2025 |
1.0.78 | 106 | 1/8/2025 |
1.0.77 | 106 | 1/6/2025 |
1.0.76 | 104 | 1/6/2025 |
1.0.75 | 114 | 1/5/2025 |
1.0.74 | 104 | 1/5/2025 |
1.0.73 | 108 | 1/5/2025 |
1.0.72 | 112 | 1/5/2025 |
1.0.71 | 110 | 1/5/2025 |
1.0.64 | 106 | 1/5/2025 |
1.0.63 | 105 | 1/5/2025 |
1.0.58 | 109 | 1/5/2025 |
1.0.57 | 109 | 1/5/2025 |
1.0.56 | 108 | 1/5/2025 |
1.0.54 | 117 | 1/5/2025 |
1.0.50 | 129 | 1/5/2025 |
1.0.49 | 123 | 1/5/2025 |
1.0.39 | 126 | 1/5/2025 |
1.0.37 | 122 | 1/5/2025 |
1.0.1 | 140 | 1/3/2025 |
1.0.0 | 115 | 12/31/2024 |