Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
reading audio
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-04 (11:46)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] reading audio
On Mon, Dec 04, 2006 at 10:19:34AM +0100, Vu Ngoc San wrote:
> is there a library available for reading wav files in ocaml and, say,
> convert it to a bigarray or something equivalent ?

The WAV format is pretty simple.  Have you tried just mapping the
file?  You'll need to ignore the first "data samples" covering the
first 44 bytes of the file (the header).


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Internet Marketing and AdWords courses - - NEW!
Merjis blog - - NEW!