caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* reading audio
@ 2006-12-04  9:19 Vu Ngoc San
  2006-12-04  9:31 ` [Caml-list] " David Baelde
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vu Ngoc San @ 2006-12-04  9:19 UTC (permalink / raw)
  To: Caml Mailing List

Hello

is there a library available for reading wav files in ocaml and, say,
convert it to a bigarray or something equivalent ?

I had a look at sdl_mixer, which does read wav files, but it seems that
you don't have physical accesss to the audio if you wanted to modifiy it
in memory. (or I missed something). All you can do is play/mix it. I
guess it should not be too hard to look at the C code and come up with a
nice ocaml interface for converting the audio chunk into a bigarray, but
that's beyond my capabilities.

I looked at the list archive and back in 2003 some people had similar
whishes. Maybe this have evolved ?

Thanks for you help.


San



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-04 19:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-04  9:19 reading audio Vu Ngoc San
2006-12-04  9:31 ` [Caml-list] " David Baelde
2006-12-04 10:01   ` Erik de Castro Lopo
2006-12-04 10:35     ` Vu Ngoc San
2006-12-04 12:56   ` Vu Ngoc San
2006-12-04 11:42 ` Richard Jones
2006-12-04 19:30   ` Erik de Castro Lopo
2006-12-04 14:20 ` Eric Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).