[vorbis-dev] I want to help

Graham Mitchell graham at grahammitchell.com
Mon Sep 8 17:35:24 PDT 2003



> One thing I'm looking for is someone to add ReplayGain support to
> ogg123.  I made a patch to do it a while ago and lost it in a hard drive
> move.  For now, I would suggest it be added to oggvorbis_format.c...

And here are a couple of additional details about this that were brought up 
on IRC when I asked about it back in June:

<volsung> said:
> You'll be editing oggvorbis_format.c:ovf_read()
>
> Use ov_read_float() instead of ov_read() so you can do your scaling
> before you quantize.
>
> Oh, and I swiped the loops from vorbisfile.c in the vorbis libraries
> to convert the floats to integers.
>
> It is okay to modify (in your case, scale all the samples) directly
> in the float buffer ov_read_float() gives you.
>
> For some reason, I thought I had to copy the floats out before I
> could multiply.

To which I replied:
> [19:47:47] <Teach> Okay, all that is pretty much over my head.

But have at it.


-- 
Graham "Teach" Mitchell - computer science teacher, Leander High School
"They come to watch me burn."
 	-- Charles Spurgeon

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list