[libannodex-dev] Re: libsndfile w/fishsound support
Conrad Parker
conrad at metadecks.org
Sun Apr 11 23:49:10 EST 2004
ok, here's the latest cut:
http://www.annodex.net/~conrad/tmp/libsndfile-1.0.9pre3fish4.tar.gz
Changes:
* applied Erik's patch to merge up
* implemented read_short, read_int, read_double
* implemented write_short, write_int, write_double
* implemented Annodex writing
* changed SF_FORMAT_ANNODEX to SF_FORMAT_ANX as requested by Erik
* fixed a bug when decoding Annodex whereby finding the audio
duration was not checking the serialno of EOS packets found,
so sometimes the granulepos of the CMML EOS packet would be
misinterpreted as the audio duration, leading to truncated
decode.
* add ANX write support to sndfile-convert
It seems to work pretty well, with full encode/decode functionality. I've
been using sndfile-convert instead of oggenc and speexenc (which happen to
be missing on my box) and it works reliably. eg.
sndfile-convert -vorbis Goldfrapp-Train.wav Goldfrapp-Train.anx
to encode a wav file as annodexed vorbis.
I've also started hacking up a little remix-based scrubbing program that
for now just does mouse-controlled seeking, which in turn puts sf_seek()
through its paces, and that seems to hold up to some decent abuse on
ogg files (at least until JACK kicks it off ;-) I'll push it a bit harder
before I'm convinced though.
TODO:
* Expansive test suite, of course.
* I'm not sure what the preconditions on methods are, so maybe
some more NULL parameter checks etc. are required.
* more SFE_* error reporting back through libsndfile ?
Here's some snapshots of oggz and fishsound from svn:
http://www.annodex.net/~conrad/tmp/liboggz-0.8.2-k1.tar.gz
http://www.annodex.net/~conrad/tmp/libfishsound-0.6.0-k1.tar.gz
Enjoy :)
Kfish.
On Mon, Mar 29, 2004 at 06:38:00PM +1000, Erik de Castro Lopo wrote:
> On Mon, 29 Mar 2004 16:11:38 +1000
> Conrad Parker <conrad at metadecks.org> wrote:
>
> > Here's the first cut at libsndfile with support for ogg vorbis and speex
> > (via oggz+fishsound):
> >
> > http://www.annodex.net/~conrad/tmp/libsndfile-1.0.9pre3fish1.tar.gz
>
>
> Very cool indeed. I'll work on integrating that over the next day or
> three.
>
> > I'll be keen to keep working on it (ie. fix the Annodex encapsulation
> > related issues) and to test the crap out of the seeking support -- some
> > kind of libremix-based granulator should be good for this :) -- erik,
> > do you just want more tarballs or want me to do some arch foo?
>
> Well since I haven't made my Arch repository public yet I'll have to
> accept tarballs :-)
>
> Erik
> --
> +-----------------------------------------------------------+
> Erik de Castro Lopo nospam at mega-nerd.com (Yes it's valid)
> +-----------------------------------------------------------+
> The difference between genius and stupidity is that
> genius has its limits.
More information about the libannodex-dev
mailing list