From: Vu Ngoc San <san.vu-ngoc@ujf-grenoble.fr>
To: Caml Mailing List <caml-list@yquem.inria.fr>
Subject: reading audio
Date: Mon, 04 Dec 2006 10:19:34 +0100 [thread overview]
Message-ID: <4573E826.1080803@ujf-grenoble.fr> (raw)
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
next reply other threads:[~2006-12-04 9:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-04 9:19 Vu Ngoc San [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4573E826.1080803@ujf-grenoble.fr \
--to=san.vu-ngoc@ujf-grenoble.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).