Help --> Filter Noise from wav file

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
atif_majid10
Cadet
Posts: 13
Joined: Mon May 31, 2004 3:56 pm
Location: Islamabad
Contact:

Help --> Filter Noise from wav file

Postby atif_majid10 » Mon Oct 24, 2005 3:53 pm

Hi There
I need a c code to filter noise from the wave file. If someone has written such a code, please send it to me or guide me about this. If needed, I can send you the original file which has less noise, and the secod file which has noise. And I want to get the same (or with minimal difference) results from the second file.
Thanks
Atif
Idleness is not doing nothing. Idleness is being free to do any thing...

fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Postby fawad » Tue Oct 25, 2005 8:29 am

Check out audacity. As far as I remember, it has a noise reduction filter built in.

atif_majid10
Cadet
Posts: 13
Joined: Mon May 31, 2004 3:56 pm
Location: Islamabad
Contact:

Repeating my problem

Postby atif_majid10 » Tue Oct 25, 2005 9:00 am

Thanks Fawad. I will check audacity.
But let me repeat my problem with some details. Actually I am using Asterisk (A pbx software for linux) to handle calls, PHP to automate my calling system. The procedure is that a person calls in the server. The asterisk recieves the call and after validating the user (this is done), plays a dtmf tone (wav file) to the caller which the caller can hear in the earpiece. Somehow we get that tone back to the server (it is also done) and the Asterisk saves that tone in another wave file. Now we have to compare the tone (actual one with this recieved one). If I had played the tone for the sequence 12345, then I am recieving it like 1, 135, 134. So I think this is because some noise coz when I listen that recorded wave file, there is much noise in it. So I want an application which can be called in from PHP and filters it. Then I will use that filtered one to compare my tone.
Once again I am waiting for help.
Thanks
Atif
Idleness is not doing nothing. Idleness is being free to do any thing...

jess
Company Havaldaar Major
Posts: 198
Joined: Sat Jul 31, 2004 7:05 am
Location: Toronto
Contact:

Postby jess » Fri Oct 28, 2005 4:14 am

does not look like a noise issue. can you post the two wave files somewhere?

atif_majid10
Cadet
Posts: 13
Joined: Mon May 31, 2004 3:56 pm
Location: Islamabad
Contact:

Postby atif_majid10 » Fri Oct 28, 2005 9:34 am

Hi
Thanks
This could be a noise issue. But at this time this is not. Coz yesterday, I spent 5 hrs to evaluate this. And I got the problem which is basically with the recording function of asterisk. Now I am going to change that function and use some other function. And I hope that will work.(Insha Allah).
Thanks
Atif
Idleness is not doing nothing. Idleness is being free to do any thing...

atif_majid10
Cadet
Posts: 13
Joined: Mon May 31, 2004 3:56 pm
Location: Islamabad
Contact:

Postby atif_majid10 » Fri Oct 28, 2005 9:37 am

jess wrote:does not look like a noise issue. can you post the two wave files somewhere?

If you can give me your e-mail address, I can send those files to you. Or if there is any file sharing space available on www.linuspakistan.net, then it will be more easier.
Just for any solution of noise issue (if there is any).
Thanks
Idleness is not doing nothing. Idleness is being free to do any thing...

jess
Company Havaldaar Major
Posts: 198
Joined: Sat Jul 31, 2004 7:05 am
Location: Toronto
Contact:

Postby jess » Sat Oct 29, 2005 5:31 am

If the change in recording procedure works, that's good.

I am at
jessbody _at_ gmail dot com

وسلام


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest