Posted: Fri Dec 01, 2006 12:17 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
A number of my users have phones that beep when each number is
pressed. It appears that the SpeechBackground app is picking up this
sound, interpreting it as speech, and returning an invalid result.
Looking at the source it seems that the app looks for both DTMF and
speech in parallel? Is this correct? Is there a straightforward way
to to destroy the speech engine but continue to receive the DTMF input
the instant DTMF is detected?
Thanks
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sat Dec 02, 2006 1:09 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
I'm not sure exactly how SpeechBackground works -- one of the
Asterisk-experts can probably shed more light on that -- but the LV
Speech Engine supports DTMF grammars.
That certainly presents a workaround to your problem. Just load a voice
grammar and a DTMF grammar, and if the Engine detects DTMF input, it
will not parse it through the usual speech recognition, and you can get
the DTMF input back into your application.
--
Stephen Keller
LumenVox Technical Support
P: 877-977-0707, just say "Stephen Keller" or "Support"
F: 858-707-7072
support@LumenVox.com www.LumenVox.com
-----Original Message-----
From: asterisk-speech-rec-bounces@lists.digium.com
[mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Tom
[toms400]
Sent: Thursday, November 30, 2006 4:17 PM
To: asterisk-speech-rec@lists.digium.com
Subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and
speech atthe same time? Why?
A number of my users have phones that beep when each number is pressed.
It appears that the SpeechBackground app is picking up this sound,
interpreting it as speech, and returning an invalid result.
Looking at the source it seems that the app looks for both DTMF and
speech in parallel? Is this correct? Is there a straightforward way to
to destroy the speech engine but continue to receive the DTMF input the
instant DTMF is detected?
Thanks
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sat Dec 02, 2006 1:15 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
Stepehn,
In my case the DTMF is send out-of-band, so this wouldn't work. The sounds the phone is making are just beeps of a single tone. Anyone clear on SpeechBackground?
Thanks
I'm not sure exactly how SpeechBackground works -- one of the
Asterisk-experts can probably shed more light on that -- but the LV
Speech Engine supports DTMF grammars.
That certainly presents a workaround to your problem. Just load a voice
grammar and a DTMF grammar, and if the Engine detects DTMF input, it
will not parse it through the usual speech recognition, and you can get
the DTMF input back into your application.
A number of my users have phones that beep when each number is pressed.
It appears that the SpeechBackground app is picking up this sound,
interpreting it as speech, and returning an invalid result.
Looking at the source it seems that the app looks for both DTMF and
speech in parallel? Is this correct? Is there a straightforward way to
to destroy the speech engine but continue to receive the DTMF input the
instant DTMF is detected?
Thanks
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sat Dec 02, 2006 1:19 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
Tom [toms400] wrote:
Quote:
A number of my users have phones that beep when each number is
pressed. It appears that the SpeechBackground app is picking up this
sound, interpreting it as speech, and returning an invalid result.
Looking at the source it seems that the app looks for both DTMF and
speech in parallel? Is this correct? Is there a straightforward way
to to destroy the speech engine but continue to receive the DTMF input
the instant DTMF is detected?
The way SpeechBackground is written is that it provides back a perfect
result with the DTMF if any is received. That's not the way the API is
written so SpeechBackground could be changed. Why are your users pushing
DTMF and doing speech at the same time? Just curious.
Joshua Colp
Software Developer
Digium, Inc.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sat Dec 02, 2006 1:37 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
Sorry if I wasn't clear. My users are either using speech or entering
DTMF, it's up to them -- they aren't doing both at the same time, and
I don't want them to.
The problem is that some of them have phones that produce beeps
intended for them as audible feedback, not the person they're calling.
That beep is basically just background noise. So, even though
SpeechBackground picks up the out-of-band DTMF correctly, the speech
engine appears to be detecting that beep as speech, timesout and
returns an incomplete result. Does this sound plausible?
Hope this makes sense and I'm not completely misunderstanding something.
On 12/1/06, Joshua Colp <jcolp@digium.com> wrote:
Quote:
Tom [toms400] wrote:
> A number of my users have phones that beep when each number is
> pressed. It appears that the SpeechBackground app is picking up this
> sound, interpreting it as speech, and returning an invalid result.
>
> Looking at the source it seems that the app looks for both DTMF and
> speech in parallel? Is this correct? Is there a straightforward way
> to to destroy the speech engine but continue to receive the DTMF input
> the instant DTMF is detected?
>
The way SpeechBackground is written is that it provides back a perfect
result with the DTMF if any is received. That's not the way the API is
written so SpeechBackground could be changed. Why are your users pushing
DTMF and doing speech at the same time? Just curious.
Joshua Colp
Software Developer
Digium, Inc.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Mon Dec 04, 2006 4:40 pm Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
Tom [toms400] wrote:
Quote:
The problem is that some of them have phones that produce beeps
intended for them as audible feedback, not the person they're calling.
That beep is basically just background noise. So, even though
SpeechBackground picks up the out-of-band DTMF correctly, the speech
engine appears to be detecting that beep as speech, timesout and
returns an incomplete result. Does this sound plausible?
The phone is sending this beep down the line, not just playing it out
the speaker (or some other method) for the person sitting at the phone?
That seems very odd... I've never heard of a phone that does that. When
the keys are pressed, the only that should be sent down the line is the
DTMF itself, not some random other noise that will be useless for the
other party.
Is the server hearing this noise because the user is using the phone in
speakerphone mode, or with a headset with the speaker set to a high volume?
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Tue Dec 05, 2006 12:15 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
The phone isn't purposely sending the tone down the line, it's just
loud enough that it's picked up by the engine as some sort of speech
and short enough that the speech engine stops listening and sends its
result. I've set the vad_noise_filter as high as I can to a point
where it can still hear real speech (12000) but this feedback beep
still gets through.
Its the same behavior as using a softphone w/headset (and w/o headset)
and the speaker turned up.
On 12/4/06, Kevin P. Fleming <kpfleming@digium.com> wrote:
Quote:
Tom [toms400] wrote:
> The problem is that some of them have phones that produce beeps
> intended for them as audible feedback, not the person they're calling.
> That beep is basically just background noise. So, even though
> SpeechBackground picks up the out-of-band DTMF correctly, the speech
> engine appears to be detecting that beep as speech, timesout and
> returns an incomplete result. Does this sound plausible?
The phone is sending this beep down the line, not just playing it out
the speaker (or some other method) for the person sitting at the phone?
That seems very odd... I've never heard of a phone that does that. When
the keys are pressed, the only that should be sent down the line is the
DTMF itself, not some random other noise that will be useless for the
other party.
Is the server hearing this noise because the user is using the phone in
speakerphone mode, or with a headset with the speaker set to a high volume?
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Tue Dec 05, 2006 12:52 am Post subject: [asterisk-speech-rec] SpeechBackround: accepting DTMF and sp
Have you tried setting the vad_burst_threshold higher? I assume the
tones are fairly short, and this parameter should adjust the length of
time the Engine has to detect audio before it triggers speech
recognition.
--
Stephen Keller
LumenVox Technical Support
P: 877-977-0707, just say "Stephen Keller" or "Support"
F: 858-707-7072
support@LumenVox.com www.LumenVox.com
-----Original Message-----
From: asterisk-speech-rec-bounces@lists.digium.com
[mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Tom
[toms400]
Sent: Monday, December 04, 2006 4:15 PM
To: Use of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] SpeechBackround: accepting DTMF and
speechat the same time? Why?
The phone isn't purposely sending the tone down the line, it's just loud
enough that it's picked up by the engine as some sort of speech and
short enough that the speech engine stops listening and sends its
result. I've set the vad_noise_filter as high as I can to a point where
it can still hear real speech (12000) but this feedback beep still gets
through.
Its the same behavior as using a softphone w/headset (and w/o headset)
and the speaker turned up.
On 12/4/06, Kevin P. Fleming <kpfleming@digium.com> wrote:
Quote:
Tom [toms400] wrote:
> The problem is that some of them have phones that produce beeps
> intended for them as audible feedback, not the person they're
calling.
Quote:
> That beep is basically just background noise. So, even though
> SpeechBackground picks up the out-of-band DTMF correctly, the speech
Quote:
> engine appears to be detecting that beep as speech, timesout and
> returns an incomplete result. Does this sound plausible?
The phone is sending this beep down the line, not just playing it out
the speaker (or some other method) for the person sitting at the
phone?
Quote:
That seems very odd... I've never heard of a phone that does that.
When the keys are pressed, the only that should be sent down the line
is the DTMF itself, not some random other noise that will be useless
for the other party.
Is the server hearing this noise because the user is using the phone
in speakerphone mode, or with a headset with the speaker set to a high
volume?
Quote:
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
You can post new topics in this forum You can 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