Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Steve Underwood
On 08/20/2009 05:22 AM, Michael Collins wrote: There is no noise on those 3 beeps. In fact, for something that's been through ulaw/alaw compression those beeps are very clean. They are quite short, though. Heck yeah they're short! Steve, in your experience is there a

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Eric des Courtis
Matt, For your information the tones you gave me are exactly 738Hz. If you want to try that tone detection thing. Cheers. Eric des Courtis On Thu, Aug 20, 2009 at 2:20 PM, Michael Collinsm...@freeswitch.org wrote: On Thu, Aug 20, 2009 at 11:06 AM, Steve Underwood ste...@coppice.org wrote:

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Eric des Courtis
Matt, As is mod_vmd will not detect tones shorter then 138ms. However I could get that value down to ~30ms at best by making a few modifications to the algorithm. Cheers. Eric des Courtis On Thu, Aug 20, 2009 at 7:51 PM, Eric des Courtiseric.des.cour...@gmail.com wrote: Matt, For your

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Matthew Fong
I changed /*! Minimum time for a beep. */ #define MIN_TIME 8000 to 6500 and it seemed to work, but I'm not sure how many false positives I will get in a real-world environment. at 4000 it fired the event like 5 times in a session, but 6500 only once. Do you think I should expect a lot of false

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Eric des Courtis
Matt, I think the only way to know for sure is to try it. I would try to get the value as high as possible while still detecting that 738Hz sine (with a small margin of error). Lowering the value increases false positives rapidly. Eric des Courtis On Thu, Aug 20, 2009 at 8:36 PM, Matthew

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Gabriel Gunderson
On Thu, Aug 20, 2009 at 6:36 PM, Matthew Fongmattdf...@gmail.com wrote: /*! Minimum time for a beep. */ #define MIN_TIME 8000 to 6500 and it seemed to work, but I'm not sure how many false positives I will get in a real-world environment. at 4000 it fired the event like 5 times in a session,

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-20 Thread Gabriel Gunderson
On Thu, Aug 20, 2009 at 9:16 PM, Gabriel Gundersong...@gundy.org wrote: On Thu, Aug 20, 2009 at 6:36 PM, Matthew Fongmattdf...@gmail.com wrote: /*! Minimum time for a beep. */ #define MIN_TIME 8000 to 6500 and it seemed to work, but I'm not sure how many false positives I will get in a

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-19 Thread Michael Collins
On Wed, Aug 19, 2009 at 1:43 AM, Matthew Fong mattdf...@gmail.com wrote: Hi Eric, Thanks for these recommendations. for vmd-not-panasonic-home-ans.wav changing MAX_FREQ to 1450 WORKED! but I'm still having problems picking out the ~750Hz beep of sprint, tmobile, and verizon. I tried first

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-19 Thread Michael Jerris
my bet is if mod_vmd is not getting them that they are not going to work with tone detect either. Someone needs to look at the tone and see what frequencies are really involved and if they change throughout the beep. Mike On Aug 19, 2009, at 12:41 PM, Michael Collins wrote: On Wed,

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-19 Thread Matt Hunter
Can anyone recommend a tool to analyze the wave files to see what's causing the sine wav not to be detected? I have them zipped at http://bandcon.hellohunter.com/vmd_wav.zip http://bandcon.hellohunter.com/vmd_wav.zipI was trying to use audacity, but not sure how to tell the exact frequency.

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-19 Thread Steve Underwood
On 08/18/2009 05:15 AM, Eric des Courtis wrote: Matt, Okay the good news is vmd should be able to handle these cases. The bad news is for whatever reason they are not getting detected at the moment. vmd-not-panasonic-home-ans.wav is a sine at ~1400Hz you can change MAX_FREQ to 1450 and

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-19 Thread Michael Collins
There is no noise on those 3 beeps. In fact, for something that's been through ulaw/alaw compression those beeps are very clean. They are quite short, though. Heck yeah they're short! Steve, in your experience is there a practical way to detect a beep that short without chewing up system

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-17 Thread Eric des Courtis
Matt, Okay the good news is vmd should be able to handle these cases. The bad news is for whatever reason they are not getting detected at the moment. vmd-not-panasonic-home-ans.wav is a sine at ~1400Hz you can change MAX_FREQ to 1450 and play with MIN_AMPL if that still doesn't help. The

Re: [Freeswitch-users] Better results from mod_vmd

2009-08-17 Thread Eric des Courtis
Matt, You must first capture the audio beeps and verify that they are sine waves. If not, simply tweaking the algorithm will not give you better results. It might be possible to use FFT and I would be happy to help you implement such a solution but keep in mind FFT is very very demanding on the

[Freeswitch-users] Better results from mod_vmd

2009-08-16 Thread Matthew Fong
I tried emailed Eric, seeking advice on this, but his email (the one in the source code) is bouncing email (invalid user), so thought I would ask here instead. If anyone has eric's new email address, I'd be interesting in it. I did some tests with mod_vmd this afternoon, but I'm only finding