01-08-2014 07:09 PM
i need to design a 5 band graphic equilizer in labview . Furthermore the system also should be able to eliminate two interference tones present at 5 KHz and 10 KHz respectively. The 5-band graphic equilizer should be controlled via graphical user interface (GUI) running on a personal computer.
01-08-2014 07:51 PM
Cool! Be sure to let us know when you've done it, and we'd appreciate it if you would attach the VI.
Seriously, (1) you haven't asked a question, and (2) you haven't told anything about what you have tried so far and how it has/has not worked.
Cameron
01-08-2014 08:13 PM
work done so far attached. But it responds very slowly i need to speed up the design and i don't know how to use notch filters to reject the frequencies
01-09-2014 07:53 AM
Well, a few problems I can see with a quick look:
1. You are reading your sound file each time you go through the loop. This will take time. Take the path input and read parts out of your loop, put the path control into a pre-loop so you can select it first. (or, later you could put things back into the main loop with a condition that you only read the sound file when your file path has changed).
2. This one's probably the biggest problem. You have no timing in your while loop, so it just barrels on through without giving any user input [sliders] a chance to get a word in edgewise. Put at least a 1 msec timing wait in there (just the basic wait function, not one of the Express thingies - probably 200 msec or more won't hurt, unless you have ultra-quick hands) to let the UI interact with the program.
3. You've got no upper or lower bounds for your filters, so you're doing the exact same thing 3-5 times, depending on how the ExpressVIs are implemented.
As far as filtering out the 5 and 10 KHz spikes, there are a number of filter VIs available, some of them bandstop, you could try those directly (on the original file, before the loop) or make your own by paralleling a high-pass and low-pass multiple pole filter with the same cutoff frequency and adding the results. Keep in mind that if you use a 10 KHz bandstop, it may affect the 5 KHz spike, too, depending on how you use it.
A little unsolicited advice, if you're going to be a longtime LabVIEW user I'd take those ExpressVI's apart and see how they're constructed, then work on putting together your own from the basic VIs. That way you'll have a lot more control over your program's characteristics and reduce the overhead in the program so it will respond better, too.
Cameron
01-09-2014 08:31 AM
Can you please modify the circuit for me and return me the attached file because since i am a new learner it difficult to understand what you are talking about. By having a look at the modified file it will be easier for me to understand my mistakes.
01-09-2014 09:35 AM
Honestly, the modifications I suggested are very, very basic ones.
If you're that new to LabVIEW, IMHO it would help you much more if you were to work through some of the free online tutorials (like the first one listed under my name here) and use the LV Help files (hit Ctrl-H to get Context help for particular parts of your diagram, then go to the link at the bottom of that, "Detailed help"). It's much easier to learn things in a more-or-less ordered way than to jump into the middle and have to backtrack to pick up the fundamentals.
It's like the old saying, "Give a man a fish and he'll eat for a day. Teach a man to fish and he'll sit in a boat and drink beer all day eat for the rest of his life."
Cameron
01-09-2014 09:48 AM
i tried to modify the circuit but with no success please do check the modified file
01-09-2014 11:52 AM
1. What do you mean "with no success"? That doesn't tell me anything about what did happen, if anything.
2. Why did you change your while loop Stop condition from "stop if true" to "stop if false"?
3. How long is your data input? I didn't even notice the "play waveform" ExpressVI before, is it doing anything at all?
4. You still don't have anything hooked up to the majority of your subVI inputs.
5. Have you started on an online tutorial yet?
Cameron
01-09-2014 12:42 PM
I am providing a 10 mb audio song as input.We have gone through all tha tutorials during our lab sessions. Sir please help me with this i have to submit this design tomorrow
01-09-2014 01:35 PM
No one can help you unless they know what the problem is. You still haven't answered most of my questions, nor addressed any of the concerns I have spoken about (except for putting in the wait timer, but I don't know if it's set to anything but 0).
BTW, I ran a 10 MB WAV file and it took about a minute. Do you realize that you have to play your sound file all the way through before your while loop will even get to a second iteration? I have no idea how long it will take your computer to read it in, since I have a computer with a SS disk, not a regular hard drive, but I bet it's not trivial, either (unless you really did mean a 10 millibit (mb) file, instead of a 10 megabyte (MB) file, sometimes capital letters are really useful for understanding).
Cameron