Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 7 Jan 2003 17:37:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 7 Jan 2003 17:37:49 -0500 Received: from amsfep13-int.chello.nl ([213.46.243.24]:32787 "EHLO amsfep13-int.chello.nl") by vger.kernel.org with ESMTP id ; Tue, 7 Jan 2003 17:37:47 -0500 Date: Tue, 7 Jan 2003 23:46:19 +0100 Subject: Re: [Asterisk] DTMF noise Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: linux-kernel To: Thomas Tonino From: Roy Sigurd Karlsbakk In-Reply-To: <3E1B25A2.7020508@users.sf.net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1366 Lines: 37 >> The DTMF detector in the linux kernel is fairly simplistic and >> doesn't do >> many relative energy tests. The Zapata library has a much better tone >> detector, but it is FP, and so would have to be made fixed point. If >> nothing else, it may provide some lessons for the ISDN folks. > > I remember that a good DTMF decoder can be very simplistic: DTMF was > designed for that. > > The idea is: > > - separate the high tones from the low tones. > - amplify clip the high band and the low band separately > - run the tone decoders on the clipped signals > > The clipping stage would make sure that only relatively pure tones > will trigger the detector. > > See also http://groups.google.com/groups?selm=7462%40accuvax.nwu.edu but the problem here, is just what you're describing. The DTMF decoder is finding DTMF signals in normal speech, so talking with someone with Asterisk (dot org) using isdn4linux is a true nightmare. Linux's DTMF detector finds DTMF signals all the time, making asterisk signal them as sounds. so - we DO NOT need a 'simplistic' DTMF decoder. not for this purpose, that is roy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/