From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Roy Sigurd Karlsbakk <roy@karlsbakk.net>,
Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: i4l dtmf errors
Date: Thu, 12 Dec 2002 14:10:04 +0200 [thread overview]
Message-ID: <20021212121004.GC32122@mea-ext.zmailer.org> (raw)
In-Reply-To: <200212121145.26108.roy@karlsbakk.net>
This is possibly more of linux-isdn@vger.kernel.org list thing,
than linux-kernel per se.
On Thu, Dec 12, 2002 at 11:45:26AM +0100, Roy Sigurd Karlsbakk wrote:
> hi
>
> it seems isdn4linux detects DTMF tones from normal speach. This is rather
> annoying when using i4l for voice with Asterisk.org. This is tested on all
> recent kernels
>
> see thread "[MGCP] Asterisk/D-Link phones generates ugly DTMF tones!!!" at
> http://www.marko.net/asterisk/archives/ for more info.
Quick reading of drivers/isdn/isdn_audio.c(*) shows that it does use
fixed-point Görtzel (Goertzel in english) algorithm for detecting
tones, but it does _not_ do comparison of received overall signal
power vs. detected DTMF tone powers.
When there is signal power outside the DTMF channels, signal should
not be detected. Also, DTMF tone powers should be roughly equal,
and exactly two tones should be present for valid detection.
http://www.numerix-dsp.com/goertzel.html
Adding those power tests should be fairly trivial, but I leave it
to Somebody Else...
(*) kernel version I looked upon was 2.4.16-0.11custom -- some RH kernel
> roy
> --
> Roy Sigurd Karlsbakk, Datavaktmester
> ProntoTV AS - http://www.pronto.tv/
> Tel: +47 9801 3356
/Matti Aarnio
next prev parent reply other threads:[~2002-12-12 12:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 10:45 i4l dtmf errors Roy Sigurd Karlsbakk
2002-12-12 12:10 ` Matti Aarnio [this message]
2002-12-14 14:54 ` Roy Sigurd Karlsbakk
2002-12-14 20:51 ` Wolfgang Fritz
2002-12-14 23:14 ` Kai Germaschewski
2002-12-16 17:44 ` [PATCH] (Was: i4l dtmf errors) Wolfgang Fritz
2003-01-06 9:57 ` Roy Sigurd Karlsbakk
2002-12-16 11:07 ` i4l dtmf errors Roy Sigurd Karlsbakk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021212121004.GC32122@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roy@karlsbakk.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.