Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Detecting the origin of voice activity using VAD


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
csorlie at teldio.com
Guest





PostPosted: Sun Mar 01, 2009 4:05 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Using voice activity detection (VAD) in FreeSWITCH, how might I then distinguish which side of a call any given TALK or NOTALK event relates to? I am interested not just that there is activity on the call, but interested also in which party on the call is speaking (or not).

Cam

th{ font-size: 12; font-family: arial; font-weight: normal } th.name{ font-size: 14; font-weight: bold } th.title{ font-weight: bold; color: green }
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Mar 01, 2009 4:24 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

If i'm not mistaken those events will have a member-id in them so you
can tell who they belong to.

/b

On Mar 1, 2009, at 12:01 PM, Cameron Sorlie wrote:

Quote:
Using voice activity detection (VAD) in FreeSWITCH, how might I then
distinguish which side of a call any given TALK or NOTALK event
relates to? I am interested not just that there is activity on the
call, but interested also in which party on the call is speaking (or
not).

Cam


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
red.rain.seven at gmai...
Guest





PostPosted: Sun Mar 01, 2009 9:32 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Does the freeswitch VAD is able to distinguish ring tone from human voice?
The scenario is to originate a call to a IVR system(don't connect the other leg here yet) and dial DTMF to get to the designated extension number , once someone picks up and say hello ( detected by VAD) now release to connect the other leg of the call. The point is to hold the first leg till a real person picks up.

If it can't be done by VAD, how should I approach this function that I want to achieve.

Thanks

On Sun, Mar 1, 2009 at 1:15 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
If i'm not mistaken those events will have a member-id in them so you
can tell who they belong to.

/b


On Mar 1, 2009, at 12:01 PM, Cameron Sorlie wrote:

Quote:
Using voice activity detection (VAD) in FreeSWITCH, how might I then
distinguish which side of a call any given TALK or NOTALK event
relates to? I am interested not just that there is activity on the
call, but interested also in which party on the call is speaking (or
not).

Cam




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Henry Huang
UniC Solution - Communication Unified
VoIP & Open Source software Consultant
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Mar 01, 2009 9:36 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

NO. You want something that people THINK exists and works well...
Reliable human/voice detection doesn't exist in ANY form.

/b

On Mar 1, 2009, at 8:20 PM, Henry Huang wrote:

Quote:
Does the freeswitch VAD is able to distinguish ring tone from human
voice?
The scenario is to originate a call to a IVR system(don't connect
the other leg here yet) and dial DTMF to get to the designated
extension number , once someone picks up and say hello ( detected by
VAD) now release to connect the other leg of the call. The point is
to hold the first leg till a real person picks up.

If it can't be done by VAD, how should I approach this function that
I want to achieve.

Thanks


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
red.rain.seven at gmai...
Guest





PostPosted: Sun Mar 01, 2009 10:11 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Well, I knew it would be some future fantasy for now..
If not human detection. I guess will try to use Dialplan Tools wait for silence to wait till the ring tone is finished ,then connect the other leg.






On Sun, Mar 1, 2009 at 6:28 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
NO.  You want something that people THINK exists and works well...
Reliable human/voice detection doesn't exist in ANY form.

/b

On Mar 1, 2009, at 8:20 PM, Henry Huang wrote:

Quote:
Does the freeswitch VAD is able to distinguish ring tone from human
voice?
The scenario is to originate a call to a IVR system(don't connect
the other leg here yet) and dial DTMF to get to the designated
extension number , once someone picks up and say hello ( detected by
VAD) now release to connect the other leg of the call. The point is
to hold the first leg till a real person picks up.

If it can't be done by VAD, how should I approach this function that
I want to achieve.

Thanks




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Henry Huang
UniC Solution - Communication Unified
VoIP & Open Source software Consultant
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Mar 01, 2009 10:17 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Usually ringing is done in early media... so the best bet would be to ignore_early_media=true

/b

On Mar 1, 2009, at 9:05 PM, Henry Huang wrote:
Quote:
Well, I knew it would be some future fantasy for now..
If not human detection. I guess will try to use Dialplan Tools wait for silence to wait till the ring tone is finished ,then connect the other leg.

Back to top
red.rain.seven at gmai...
Guest





PostPosted: Mon Mar 02, 2009 2:24 am    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

ignore_early_media=true is not going to do the trick since once the IVR picks up the call on leg A, the ring tone is stopped and the IVR is going to play pre-recorded voice menu. And the freeswtich is going to send DTMF to reach a certain extension number say 101. Then the ring tone is going to start again while the IVR is going to dial the 101 extension(or even play moh while dialing). After extension 101 picks up, this is when I want the "originate" to connect call leg B on some other number.

On Sun, Mar 1, 2009 at 7:11 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Usually ringing is done in early media... so the best bet would be to ignore_early_media=true

/b

On Mar 1, 2009, at 9:05 PM, Henry Huang wrote:

Quote:
Well, I knew it would be some future fantasy for now..
If not human detection. I guess will try to use Dialplan Tools wait for silence to wait till the ring tone is finished ,then connect the other leg.







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Henry Huang
UniC Solution - Communication Unified
VoIP & Open Source software Consultant
Back to top
msc at freeswitch.org
Guest





PostPosted: Mon Mar 02, 2009 3:14 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

On Mon, Mar 2, 2009 at 11:48 AM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote:
i think that's what mod_vmd does

I think that's right. It just does the opposite - instead of looking
for differing power levels it looks for the same power level. In other
words it tries to detect distinctly non-human sound. I'll bet you
could futz with that code and have it fire off events when it detects
what it believes is human speech.

-MC

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
woof at nortel.com
Guest





PostPosted: Mon Mar 02, 2009 8:01 pm    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Woof!

On Mon, 02 Mar 2009 19:32:53 -0500, Steve Underwood <steveu@coppice.org> wrote:

I just had a look through that patent. Its amazing. There is a lot of
Quote:
focussed descriptive text, but a patent only really consists of its
claims. Those claims are astonishingly open-ended, and characterise what
people had been doing for many years before it was filed - "Well we, er,
make a call, we listen for some beeping, and we may hang up based on
that". That is a really sick patent.

Yep, I agree. It was the ferping lawyers who kept "adding value" to try to broaden it. What we (the inventors) wrote up was nice and clean. It does have some new and novel technical approaches that we really did come up with...and could find no prior art for. Then the lawyers got to it. A true example of what's wrong with software patents these days.

--Woof!

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
csorlie at teldio.com
Guest





PostPosted: Thu Mar 05, 2009 10:50 am    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

In a sense, you might say I did futz with mod_vmd ... to create mod_vad. There appeared to be just no (easy) way to modify the internal VAD code in the FreeSWITCH core (see switch_rtp.c) to identify the origins of voice activity. And rather than build into mod_vmd, which is a special purpose tool, a separate module for VAD seemed like a reasonable idea.

In short, the mod_vad which I've written up independently monitors the read and the write legs of the session it is run on, and tags each VAD_TALK and VAD_NOTALK event it fires with a user-supplied identification marker (a short string) for the leg which the event relates to. At the moment, the VAD algorithm is dead simple, and is much like the one in the core. I will be happy to submit this module, in a little while, after I've had a chance to make it perhaps a bit more useable outside of our own application context.

Cam

On Mon, Mar 2, 2009 at 5:43 PM, <freeswitch-users-request@lists.freeswitch.org (freeswitch-users-request@lists.freeswitch.org)> wrote:
Quote:

On Mon, Mar 2, 2009 at 11:48 AM, Anthony Minessale
<anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
i think that's what mod_vmd does

I think that's right. It just does the opposite - instead of looking
for differing power levels it looks for the same power level. In other
words it tries to detect distinctly non-human sound. I'll bet you
could futz with that code and have it fire off events when it detects
what it believes is human speech.

-MC
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Mar 05, 2009 10:59 am    Post subject: [Freeswitch-users] Detecting the origin of voice activity us Reply with quote

Kewl you can contribute via http://jira.freeswitch.org Wink

/b

On Mar 5, 2009, at 9:41 AM, Cameron Sorlie wrote:

Quote:
In a sense, you might say I did futz with mod_vmd ... to create
mod_vad. There appeared to be just no (easy) way to modify the
internal VAD code in the FreeSWITCH core (see switch_rtp.c) to
identify the origins of voice activity. And rather than build into
mod_vmd, which is a special purpose tool, a separate module for VAD
seemed like a reasonable idea.

In short, the mod_vad which I've written up independently monitors
the read and the write legs of the session it is run on, and tags
each VAD_TALK and VAD_NOTALK event it fires with a user-supplied
identification marker (a short string) for the leg which the event
relates to. At the moment, the VAD algorithm is dead simple, and is
much like the one in the core. I will be happy to submit this
module, in a little while, after I've had a chance to make it
perhaps a bit more useable outside of our own application context.

Cam


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services