From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA10583; Mon, 3 Jun 2002 20:23:54 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA10579 for ; Mon, 3 Jun 2002 20:23:53 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from gogol.zorgol (Mix-Montsouris-113-4-73.abo.wanadoo.fr [80.9.111.73]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g53INpn01057 for ; Mon, 3 Jun 2002 20:23:52 +0200 (MET DST) Received: (qmail 18433 invoked by uid 1001); 3 Jun 2002 18:24:01 -0000 Date: Mon, 3 Jun 2002 20:24:01 +0200 From: Berke Durak To: Alessandro Baretta Cc: caml-list@inria.fr Subject: Re: [Caml-list] Signal analysis Message-ID: <20020603202401.A9387@gogol.zorgol> References: <3CFBC137.4010309@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CFBC137.4010309@baretta.com>; from alex@baretta.com on Mon, Jun 03, 2002 at 09:19:19PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Jun 03, 2002 at 09:19:19PM +0200, Alessandro Baretta wrote: > Hello. > > I need some advice on a project I will have to start in a > few days. I need to write code to perform spectral analysis > of digital signals. [...] > Are there any optimized FFT (and signal analysis) > libraries for Ocaml, or should I code the whole thing from > scratch? Hello, FFTW is really fast, but i've had trouble binding to it, so I ripped the FFT code from Scheme's SLIB. The result is a small program that displays in pseudo colour the spectrogram of a 16-bit raw audio file, using Bigarray and Graphics : http://perso.wanadoo.fr/berke/caml/ BTW, couldn't someone hack FFTW to generate Caml code ? I mean, what's the point of using C ? -- Berke ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners