| I looked at the libsndfile sources.
It looks like you can print all chunk including cue and smpl in wav format
to a "log string" that could be parsed to determine loop points. Is this
possible?
As for adding chunks, there's nothing specifically for writing chunks in
the API, but would it be possible to write them as binary data and then
reread the soundfile header to get things lined up again? This would have
to be done before writing anything to the data chunk.
Original Message:
-----------------
From: jpff@codemist.co.uk
Date: Sun, 4 Jan 2004 20:21:37 +0000
To: csound-dev@eartha.mills.edu, csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:3893] RE: Sound libraries
"right" library is the one that cause the least modifications to the
system and provides all the facilities required. At present
libsndfile does not provide a way of reading loop points as far as I
can tell, and I need a facility to add additional chunks. I am in
contact with Erik de Castro Lopo about some of this.
I have created output from csound5 using both the old code and
libsndfile, but it needs more testing for other formats. I am very
uncertain about the normalisation of floating formats in libsndfile,
and I need either to allocate a half day to it, or to get others who
understand the issues to test it.
I have started the reading of sound files as well; so far OK, but not
tested.
I have checked the new file into CVS (InOut/libsnd.c) but the normal
Makefile does not know about this, nor sets _SNDFILE_
==John ffitch
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |