Browse thread
[Caml-list] Operators for Int64 and Int32
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-04-03 (20:18) |
From: | Erik de Castro Lopo <mle+ocaml@m...> |
Subject: | Re: [Caml-list] Operators for Int64 and Int32 |
Michał Maciejewski wrote: > I'm quite new to OCaml but recently I had to write a wave file parsing > application. If you need to read WAV files, why not just use libsndfile: http://www.mega-nerd.com/libsndfile/ and the libsndfile Ocaml wrapper: http://www.mega-nerd.com/tmp/libsndfile-ocaml-20071120-0622.tgz It's basically working, but there might still be some slight API changes. The reason I suggest this is that WAV file parsing is probably much, much harder than you immagine. Here's why: - WAV files allow the audio data to be encoded in dozens of different formants. Supporting even a small subset of them is a PITA. - There are numerous programs that create malformed files. Adding workarounds to these is a lot of work. - libsndfile already supports a whole bunch of other file formats. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- With 22,100,000 legitimate businesses in the US alone, allowing each to send only one UCE per *year* gets every mailbox 60,547 emails per day. There will either be email without UCE or there will be no email.