From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Music equalizer

Hello! I have a little problem with an application I want to develop. I am trying to make in LabView 8.5 an Music Equalizer but so far I am only able to equalize just signals (sine, square....). The problem with equalizing an audio file is that it only reacts to the modifications I make after the whole song is over. In other words, it isn't a real time equalizer. I have to segment the file in small samples, I think, and only then will I get the result I want. So, as you might have guessed, that's my problem.

Can someone help me with this issue? Thanks!

Download All
0 Kudos
Message 1 of 5
(7,181 Views)

Hi MikeCL,

To be clear, you are able to modify equalize sine and square waves in real time, but can't modify audio files, is this correct?  Also, what sort of audio file are you trying to equalize?

 

I took a look at the image you posted of your equalizer, and it initially looks ok.  I wasn't able to find the "Acquire Signal.vi" that you reference in this program though.  There are several instances of doing this using a DAQ device, but I'm not sure this is how you are handling the signal.  Are you literally playing this out of an audio port, or how exactly are you getting this signal?  Let us a little more about your hardware setup and I think we can get something up and working for you.

Message 2 of 5
(7,161 Views)

Hello Ben! Thanks for taking a look at my post!

 

Yes, you're right!

 

I'm not acquiring signal from an external device. I'm trying to play the audio file, which is an .wav file by the way, from within Labview and equalize it in the same application, in real time. It's exactly what Winamp's equalizer does. I'm just starting out with Labview...

0 Kudos
Message 3 of 5
(7,159 Views)

Hey Mike,

I don't have a .wav file to test this with, but from the VI you posted, why don't you pass the data out of Read Simple.VI instead of using the Acquire Signal.vi?  Your method looks fine, it's just a matter of getting the data routed into those filters correctly.  Have you tried directly routing the signal frmo that Read Simple.vi into the filters then recombining your code?

Message 4 of 5
(7,136 Views)

Hey Ben, thanks a lot!

 

I figured out how to create that audio equalizer. From your post, some of my ideas and an Labview example I successfully created the eq I wanted.

 

It wasn't working just by linking the simple read.vi with the filters, not in real time that is. Here's my first file, the second and the working one, and a small .wav file if you like to try it.

 

Thanks again!

0 Kudos
Message 5 of 5
(7,133 Views)