09-15-2014 02:32 AM
Hey guys,
I'm making a laser show that is controlled from the sound that my laptop is playing, so I'd like to continously read volume and frequency (from the sound card?).
I tried using the examaple file "Continuous Sound Input" but I couldn't find a correct Device ID and it only shows 1 graph.
If anyone knows how to accomplish this, I would really appreciate some pointers. I am pretty new to LabView so I'm unsure of how to go about doing this.
Thanks
09-15-2014 02:54 AM
09-15-2014 03:39 AM - edited 09-15-2014 03:39 AM
As Gerd said, wiring the sound output to the microphone input is the simplest solution. Input Sound is connected to the microphone input and can't be easily connected to the sound output. For that one would have to dig deep into DirectSound and configure your own filter graph with a T filter that splits the sound output into another virtual sound input channel. This is not something the LabVIEW Sound VIs allow and even most other DirectSound related applications wouldn't normally support such a configuration option.
09-15-2014 08:55 AM
Hmm, ok. I was worried it wouldn't be possible without a lot of digging. This will be running at a party that will most likely be too loud to get accurate readings from the laptop's microphone.
However, when I do run the example, I get an error that says "Selected Device is Invalid." I went in to the device manager and it says the microphone is at location 0, so I kept the device ID 0. Any idea on how to find get the device ID?
09-15-2014 09:04 AM
09-15-2014 09:43 AM
Hey Gerd,
I'm sorry, I don't really understand what you mean. Where are you saying the mic input is next to the headphone output? In device manager? Also, I'm not sure what you are instructing me to do. I really appreciate the help, I hope we can get this working!
Haybur