Browse thread
reading audio
-
Vu Ngoc San
-
David Baelde
- Erik de Castro Lopo
- Vu Ngoc San
- Richard Jones
- Eric Cooper
-
David Baelde
[
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: | 2006-12-04 (10:01) |
From: | Erik de Castro Lopo <mle+ocaml@m...> |
Subject: | Re: [Caml-list] reading audio |
David Baelde wrote: > Hi, > > It would be nice to have a binding of libsndfile for that kind of > purpose. Unfortunately I don't think we have one yet. Since I (the main author of libsndfile) is also an Ocaml user I really should get around to doing that. However, the Ocaml version would not ba able to have functions for reading shorts or ints, just a function for reading doubles (as Ocaml floats). Same for the write side. libsndfile would however do the conversion between the ocaml level floats at whatever the disk file format required. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "The problem with using C++ ... is that there's already a strong tendency in the language to require you to know everything before you can do anything." -- Larry Wall