10-02-2018 01:10 PM
Hello, im Davide and this is my frist post!
I need help with this error, Why labview don't recognize any device?
Solved! Go to Solution.
10-02-2018 09:43 PM
Can you confirm what audio devices are available in Windows? You can check this by right-clicking the little speaker icon in the notification tray and select Recording devices. You can see below I have one microphone input in Windows, which also appears in the express VI configuration.
10-03-2018 01:12 PM
I don't no why, but today labview have acquire the microphone device, but the question isn't solved
because i need to analyze windows sound.
Forgive me for my imperfect englisg, and thanks you fa your help 🙂
10-04-2018 08:28 AM
Am I correct that you are new to LabVIEW, and do not know much about the language? The Express VI is a "shortcut for beginners" that will acquire a sound sample and output it as a Dynamic Data wire (which I find difficult to use). If you want to analyze the sound, you need to process the Waveform Information contained in this wire. Do you know about right-clicking on output Terminals and selecting what to do? If you right-click on the Data terminal, you can select the Signal Manipulation Palette. I would recommend you choose "From DDT" and immediately convert the data from the Dynamic Data wire to LabVIEW's 1D Array of Waveform. You can then open the Waveform Palette and decide how you want to process this waveform. There are also Waveform Charts and Graphs you can use to display your sound sample. There are probably also Example Programs (Help, Find Examples) that may have more helpful guides.
Bob Schor
10-04-2018 08:44 AM
thanks, (correct me if I'm wrong) but I do not think solve the problem, because the source of the signal remains the microphone, I would like to analyze the sounds of windows that are transmitted to the speakers.
10-04-2018 09:17 AM - edited 10-04-2018 09:23 AM
@Diell.it wrote:
thanks, (correct me if I'm wrong) but I do not think solve the problem, because the source of the signal remains the microphone, I would like to analyze the sounds of windows that are transmitted to the speakers.
Do you mean that you want to analyze the sound being generated by your PC and output by its own speakers? You're not going to be able to do that if your PC's only audio recording source is a built-in microphone. Most desktop PCs will have a line-in audio input jack, in which case you could connect a patch cable between the line-out and line-in jacks to route the computer's audio output back into its input for analysis, but many laptops now don't have a line-in jack, just a built-in microphone and possibly a headset microphone jack. In that case you'll need to add a USB audio adapter with line-in and line-out jacks to your system.
Edited to add: I didn't think to search until after I posted, but there does exist a "virtual audio cable", a loopback audio device driver you can install which looks like audio input and output hardware to windows, but actually just routes the output back to the input without ever touching any hardware. Check out LoopBeAudio: https://www.nerds.de/en/loopbeaudio.html
Edited again to add: Okay, there may be an even simpler solution if your audio hardware supports it, which is to enable the "Stereo Mix" recording device. Try this: https://www.howtogeek.com/howto/39532/how-to-enable-stereo-mix-in-windows-7-to-record-audio/
10-04-2018 10:11 AM
the last solution is definitely the most elegant, alternatively I used LoopBeAudio, it's a regret that to do it I need to resort to this trick
Thank you for the help that you all gave me!
By Davide