Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sound Light controller.

Status
Not open for further replies.

LordGarfield

IS-IT--Management
Joined
Jul 31, 2003
Messages
112
Location
BE
Hi,

I do not know if this one is verry difficult or even imposible but I wanne give it a try.

Is there a way I can capture the audio that is played by any program om a pc.
then in VB getting difrent tones out of it like bass.

Let me explain more.
We have a mixing pannel that is connected with a PC. On the pc there are lots of music files (legal mp3 files).

We also have 4 light spots. And we are creating a device with 4 power connectors for the lights and 4 relay's. and we can connect this device to a PC. We are still thinking wich port we are gonna use. Parralel our serial.

anyway it would be nice if I can capture the tones and then let the lights dance on certain tones. So that I can say this light flickers on every bass. the other light on that etc..

so Splitting up sound that goes true the soundcard into 4 tones so I can asign it to each of the 4 lights. and combine it with a patern...

Can anyone give me some information about this? How I should do that?

The device is not the big problem. it is the capturing of the sound splitting it up and then get somekind of string wich says switch that relay and now that one so that we can send it out to our serial our parralel port.

Tanks already.

Greetings
 
I was reading through the questions, and I saw this one.
I am an x musician. Thought I would lend a hand.
Good look
This should start you on you way.
Use the Winsock control.
To listen, set a port using “LocalPort”, and invoke the listen method
When you receive data the “DataArrival” event occurs invoke the “GetData”
method within the DataArrival event.
Then the “SendData” method
If you are not using anther PC you may hate to use Winsock control as a UDP communications
“User Datagram Protocol” this is a connectionless protocol.
 
Hi,

Can winsock controls capture sound from a soundcard? our are you talking about the communication with the hardware where the lights are connected on?

tanks already.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top