LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview student hearing aid projest

I'm a student.  I'm trying to get this labview program to filter and amplify sound.  I have an audio file that plays through speakers into a microphone.  The audio is recorded and played in its original form.  Then it's run through a low pass and high pass filter and an amplifier(For an amp I used the waveform scale and offset).  Then the filtered amplified audio is played.  Its's doing a good job filtering the unwanted high and low frequencies but the playback over the speakers isn't amplified at all.  I have a graph of the sound before and after the amplifier and they show that the waveform is being amplified by about the ammount that I scale it but when it plays over the speakers it isn't amplified at all no matter how much I scale it by.  I've attached the VI nand the audio file that I am using.
Download All
0 Kudos
Message 1 of 8
(4,097 Views)
I am currently involved in a very similar situation.  My approach is almost identical as are my results (I haven't been able to check the VI yet as I'm have some functionality issues with my computer).  Any help that anyone may provide would be greatly appreciated.
0 Kudos
Message 2 of 8
(4,072 Views)
Hi EducProject,
 
I don't think you can just apply the scale and offset vi to properly amplify your waveform.  Take a look at this link
Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 3 of 8
(4,032 Views)
I've been working on this project a bit more.  I've been working on my project (I've attached a VI) and have been running into a new problem.  The computer seems to generate its own internal noise that is being processed through even when there is no sound file playing or microphone on.  I've been attempting to use a band stop to get rid of this noise, but it doesn't work.  Any suggestions would be greatly appreciated.
0 Kudos
Message 4 of 8
(4,017 Views)
You posted this same question in this other thread. Which one should people respond to?
0 Kudos
Message 5 of 8
(3,999 Views)

Hi Mikemccarthy3357,

Can you post the vi soundoutput with VOL.vi?  I can't run your code without it.  Thanks.

 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 6 of 8
(3,973 Views)
 Sound output with VOI and Format from data are in this attached folder.   Thank you so much for your help.
0 Kudos
Message 7 of 8
(3,967 Views)

Thanks,

I'll take a look and let you know if I find anything. 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 8 of 8
(3,935 Views)