justin = {
main feed
,
music
= {
decanted youth
,
yes, exactly, yes!
,
not vampires
,
full archive
}
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
How does the software mp3gain adjust volume of mp3s so fast and simple?
Asked by Will (107.203.156.x) on December 5 2015, 12:23am
Reply on December 5 2015, 1:20am:
By twiddling the beats for the global_gain field of each granule of each frame (see
this doc
). If I remember correctly, increasing that field by 1 corresponds with about 1.5dB of gain (+4 = ~6.02dB = 2x amplitude).
As for how mp3gain determines the optimal amount of gain to apply, I don't know -- does it look at the gain factors throughout the file, or does it fully decode to PCM? Exercise for the reader...
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2024 Justin Frankel
.
|
RSS