From: Mark Rages Subject: Re: DTMF recognition Date: Thu, 25 Jul 2002 14:26:20 -0500 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20020725192620.GA16882@mlug.missouri.edu> References: <200207251412.59730.do1ypv@linux> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: Philipp Vollmer , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Thu, Jul 25, 2002 at 10:45:27AM -0400, Paul Davis wrote: > >Hello to all, > > > >who has already done DTMF recognition with ALSA ( OSS )? > >I searched for examples in google, but I have found that > >only in TODO lists ;-(. > > > >Is this so difficult or why doesn't exist anything about that? > > its a relatively trivial FFT problem. use FFTW to analyse the signal, > then look for two predominant frequencies, and check their values > against a table. > This is hardly an ALSA problem... linux-audio-devel maybe? I have some Matlab/Octave code to do this. I wrote it for a DSP class. I used the Goertzel algorithm. I could actually get pretty good rejection of false activation this way. Email me if you want the code. Regards, Mark Rages markrages@mlug.missouri.edu ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim