This project has moved. For the latest updates, please go here.

Simple Audio Spectrum Values from WASAPI

Dec 24, 2014 at 8:41 PM
Hi, I'm trying to write a simple Visual Basic program that will collect data on the audio playing on my computer and convert it to 8-16 interger/double/float channel values that I can send via USB COM to a microcontroller which will create an Audio Spectrum on an LED matrix.

I have looked through the provided source code for the NAudio app examples but I don't know C# and I am having a hard time applying it to Visual Basic.

Can someone help me out or link me to a similar project/example?

Dec 28, 2014 at 2:11 PM
if you google for c# to converters you can find online converters that will turn c# examples into VB.NET.
To get the samples, handle DataAvailable, and use BitConverter or WaveBuffer to get the 16 bit samples out of the provided byte array
Jan 5, 2015 at 1:48 PM
Oh, awesome! Thanks alot