Headphone or Music Input on k8055 project

I currently have a final project to make lights flash to “music”. My overall goal would to make a program that flashes Christmas lights like all those fancy Christmas decorations. This project is just a proof of concept so it doesn’t have to work flawless, I’m just stuck. My problem is I don’t understand how to get any type of input from the music into VBA. I don’t understand exactly how the inputs work and haven’t really found anything on it.
I’ve tried to use the program found here: ultimaserial.com/UltimaSound.html
with this code: ultimaserial.com/UltimaSoundSource.html
but I don’t quiet understand the differences between VB and VBA so that is where I get lost on that idea. I was also wondering if I would be able to take the input from the headphones (I’m assuming analog input) and take the frequency and have when X number of hertz is hit output 2 is lit up or something a long the lines. I’m just not sure where to go from here so any help would be awesome.

You can’t use the K8055 for music input. The sample rate of the K8055 analog input is too low for this kind of signal.

@ bcrowdis

If you want to use your K8055 for flashing lights using the outputs you can use several programs.
You play the music on your computer and the outputs of the K8055 wil flash.

The first program you can use is LEDMETER

edutechsoft.nl/intface.html#Ledmeter

The original can’t use the K8055 but the source code is available so I added support for it.
The outputs can be triggered by volume. (Wave level)

Another program that can use the tone height of the played music is LIGHTNING.

sools.com/index.php?menu=lig … load&edit=

From the same site you can download support for the K8055.
When you open the file trigger in LIGHTNING you will see what I try to explain.

Maybe this will help.

Hilbrand