LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI USB-6212 for Audio Equalizing on LabVIEW

Hi! 

 

I'm doing a project where I have to build a program on LabVIEW that uses NI USB-6212 to manipulate the frequency bands of an audio file. I'm connecting my phone to the DAQ card and that is where the audio file is playing from and I've built the program as attached and the problem is that I cannot continuously run the program while playing back the filtered/equalized audio on my laptop speakers. 

The aim of the project is to be able to manipulate the different frequency bands of the audio file on real time and the problem I'm encountering is how to play the manipulated audio without any problems. I've tried using Play Waveform Express VI as well as DAQ Assistant but there still seems to be a problem and I feel that its because there has to be more components added to my program.

I'm quite new to LabVIEW and so I've been trying to search for the many functions on LabVIEW and my attached VI would give an idea of how much I know in regards to LabVIEW programming. 

 

The cutoff frequencies I've specified in the filters aren't the final frequencies I'll use and these attached VIs are all the things I've tried to come up with. 

 

Hope that was clear and appreciate help! 🙂

 

Download All
0 Kudos
Message 1 of 3
(124 Views)

Take a look at this video which shows how to use the LabVIEW Sound API to play continuous waveforms through the sound card:

Real-time audio output with interactive controls

 

The Play Waveform Express VI supports finite generation which is why you have probably heard clicks when playing the modified waveform. The video linked above shows how you can create a continuous sound generator.

Doug
NI Sound and Vibration
0 Kudos
Message 2 of 3
(76 Views)

Thanks a lot! I will check that out.

0 Kudos
Message 3 of 3
(64 Views)