Discussion:
Labview student hearing aid projest
(too old to reply)
EducProject
2008-08-11 16:40:07 UTC
Permalink
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.


work in progress3.vi:
http://forums.ni.com/attachments/ni/170/348327/1/work in progress3.vi


noisy.zip:
http://forums.ni.com/attachments/ni/170/348327/2/noisy.zip
mikemccarthy5537
2008-08-12 01:40:05 UTC
Permalink
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.
Sorooshster
2008-08-12 23:10:08 UTC
Permalink
Hi EducProject,
 
I don't think you can just apply the scale and offset vi to properly amplify your waveform.&nbsp; Take a look at <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=180180&amp;query.id=125964#M180180" target="_blank">this link</a>.&nbsp;
mikemccarthy5537
2008-08-13 01:10:06 UTC
Permalink
I've been working on this project a bit more.&nbsp; I've been working on my project (I've attached a VI) and have been running into a&nbsp;new problem.&nbsp; 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.&nbsp; I've been attempting to use a band stop to get rid of this noise, but it doesn't work.&nbsp; Any suggestions would be greatly appreciated.


H-Aid_mod.vi:
http://forums.ni.com/attachments/ni/170/348855/1/H-Aid_mod.vi
Sorooshster
2008-08-13 22:40:20 UTC
Permalink
Hi Mikemccarthy3357,Can you post the vi soundoutput with VOL.vi?&nbsp; I can't run your code without it.&nbsp; Thanks. &nbsp;
EducProject
2008-08-13 23:10:07 UTC
Permalink
&nbsp;Sound output with VOI and Format from data are in this attached folder.&nbsp; &nbsp;Thank you so much for your help.


Sound.llb:
http://forums.ni.com/ni/attachments/ni/170/349170/1/Sound.llb
smercurio_fc
2008-08-13 15:10:09 UTC
Permalink
You posted this same question in <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=348005" target="_blank">this other thread</a>. Which one should people respond to?
Sorooshster
2008-08-14 21:40:10 UTC
Permalink
Thanks,I'll take a look and let you know if I find anything.&nbsp;
Loading...