How to send voltage to GPIO pins when sound is heard on virtual sound device??

Hi there;

I'm working on a project that requires 3 to 5 volts of voltage to be sent to one of the GPIO pins when sound is heard on a virtual sound card when sound is heard on that virtual device (as sound is not always present).

All tutorials I've researched demonstrate how to do this using a sound sensor module but not a virtual sound card.

I need something that detects sound on that virtual card/device in Windows, and then activates 3-5 volts to a GPIO pin (using Latte Panda which has Windows with integrated Arduino).

Any assistance or guidance would be much appreciated

Thanks in advanced.

Link to this ‘virtual sound card’ ?

By virtual card, I refer to a virtual audio cable by VB-Audio.

The concept is that I have a few different hardware components come into the device by a couple of physical USB audio cards, these cards are then "bundled" into one single virtual audio cable.

The idea is that when this virtual audio cable receives a signal, it "sends" 3 or 5v of power out one of the GPIO pins in order to activate something that needs to be triggered when sound is heard on that cable.

I know it's possible to achieve, I just need a kick start in the right direction, as mentioned my previous searches have only yielded results for activating something based on sound heard from an actual microphone (ie, a clap lamp), I need this but not hearing a physical mic, but rather trigger power when sound heard from sound device.

I think I know what you’re saying.

Can you draw a clear sketch of how your hardware bits fit together with USB , i/o pins etc.

If you want the Arduino to act as a USB host for the VB-Audio device - that may be a bit harder than simply triggering the Arduino with I/o pin events from the device.
(BTW which VB-audio device are you useing?)

I've diagrammed the basic schematic of the project, image attached.

The audio out's on the audio deices (1 & 2) feed into two separate USB sound cards on the Latte Panda, this is then combined into a single audio channel using Voicemeeter's "Banana" software.

The audio out then goes to a set of speakers, what is required is 3 or 5 volts of power to triggered on a GPIO pin when sound is heard from that combined sound device (the virtual audio cable)

Bump!.

Hi all, just wondering if anyone has any ideas to assist me in getting in the right direction for this project?, see the attached diagram.

I have a basic understanding of programming, and with that I'm sure there would be something out there that can detect sound on a sound device (ie, speakers from the Windows Sounds) and then send voltage to a pin when sound is heard?.

A general guide or direction would be good.
I've done some research and found some inbuilt functions like tone(), that however is to generate a sound, not listen and act as a trigger.

Thanks,

I can see where you’re going with this, but what you really need is inside the LattePanda software.
If you have the Banana source code - thats where you’re going to have to identify the triggers to fire your event.
I know nothing about Panda, but if you try a forum for that platform, you may find someone that knows more about the internal architectures and software.

As this has nothing to do with Arduinos I doubt there’s going to be much help here unless you build a parallel system just to detect & trigger as needed. Seems like a waste since the Panda could easily do what you want, if you had the right tools.

good luck.