* [Caml-list] Signal analysis
@ 2002-06-03 19:19 Alessandro Baretta
2002-06-03 17:38 ` Eray Ozkural
2002-06-03 18:24 ` Berke Durak
0 siblings, 2 replies; 6+ messages in thread
From: Alessandro Baretta @ 2002-06-03 19:19 UTC (permalink / raw)
To: Ocaml
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. I do not know the details yet, but I
know that I will have to perform Fourier trasformations on
fairly large arrays, let us say in the neighborhood 2^16
samples. Since the data comes from text files, I would like
to use Ocaml/Ocamllex/Ocamlyacc, but will I be able to
perform the numerical part at a decent speed? I realize
"decent" here could mean just about anything, but since I
have no real time specs, I simply have to crunch the data
fast enough (on a fast enough PC) so as to prevent the user
from getting exceedingly bored and frustrated between
commands. Are there any optimized FFT (and signal analysis)
libraries for Ocaml, or should I code the whole thing from
scratch?
I would appreciate any ideas from anyone having some
previous signal analysis experience with Ocaml.
Thank you very much.
Alex
-------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Signal analysis
2002-06-03 19:19 [Caml-list] Signal analysis Alessandro Baretta
@ 2002-06-03 17:38 ` Eray Ozkural
2002-06-04 13:59 ` Christophe TROESTLER
2002-06-03 18:24 ` Berke Durak
1 sibling, 1 reply; 6+ messages in thread
From: Eray Ozkural @ 2002-06-03 17:38 UTC (permalink / raw)
To: Alessandro Baretta, Ocaml
Investigate the binding for FFTW library for ocaml.
fastest in the west :)
On Monday 03 June 2002 22:19, 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. I do not know the details yet, but I
> know that I will have to perform Fourier trasformations on
> fairly large arrays, let us say in the neighborhood 2^16
--
Eray Ozkural (exa) <erayo@cs.bilkent.edu.tr>
Comp. Sci. Dept., Bilkent University, Ankara
www: http://www.cs.bilkent.edu.tr/~erayo Malfunction: http://mp3.com/ariza
GPG public key fingerprint: 360C 852F 88B0 A745 F31B EA0F 7C07 AE16 874D 539C
-------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Signal analysis
2002-06-03 19:19 [Caml-list] Signal analysis Alessandro Baretta
2002-06-03 17:38 ` Eray Ozkural
@ 2002-06-03 18:24 ` Berke Durak
2002-06-03 18:40 ` Markus Mottl
1 sibling, 1 reply; 6+ messages in thread
From: Berke Durak @ 2002-06-03 18:24 UTC (permalink / raw)
To: Alessandro Baretta; +Cc: caml-list
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Signal analysis
2002-06-03 18:24 ` Berke Durak
@ 2002-06-03 18:40 ` Markus Mottl
0 siblings, 0 replies; 6+ messages in thread
From: Markus Mottl @ 2002-06-03 18:40 UTC (permalink / raw)
To: Berke Durak; +Cc: Alessandro Baretta, caml-list
On Mon, 03 Jun 2002, Berke Durak wrote:
> 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 ?
Interfacing to the FFTW-library is indeed awful, because of many options
that interact in fancy ways. Making a half-descent OCaml-library for
FFT-routines using the FFTW would probably take a couple of days full-time
(too long for me, I am more into symbolic stuff ;).
You can grab my unfinished attempt from here:
http://www.oefai.at/~markus/tmp
Regards,
Markus Mottl
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
-------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-07-11 21:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-03 19:19 [Caml-list] Signal analysis Alessandro Baretta
2002-06-03 17:38 ` Eray Ozkural
2002-06-04 13:59 ` Christophe TROESTLER
[not found] ` <3D2CD456.4030808@baretta.com>
[not found] ` <20020711.194206.122060257.Christophe.Troestler@umh.ac.be>
2002-07-11 21:11 ` Alessandro Baretta
2002-06-03 18:24 ` Berke Durak
2002-06-03 18:40 ` Markus Mottl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox