[vorbis-dev]Newbie question
Monty
xiphmont at xiph.org
Sun Jan 19 16:23:32 PST 2003
On Fri, Jan 17, 2003 at 05:53:51PM -0700, Rob D wrote:
> The problem isnt with finding a place to store the settings. They are stored
> in a separate database, works fine, and is per album, and not per song
> anyway.
>
> You are right in that it wouldnt make sense to store volume/EQ settings in
> the file, because as you mentioned, the sound system it is played back on
> has a huge affect on the sound relationship.
Sorry, I was mostly heading off an argument I've had here before; the
reply wasn't directed specifically at you.
> The problem is not knowing how to tell the decoder I want 85% volume as
> opposed to the normal volume when it is creating the PCM samples.
Yes, sensible. There are currently no direct EQ hooks (although the
feature is not an unreasonable one; it does save time to do it in the
codec). However, you can have access to the pre-quantization PCM data
in flaot form using ov_read_float, and multiply/normalize amplitude
there. You would have to perform your own integer quantization
afterward.
Monty
--- >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