Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volume normalization #29

Open
colegleason opened this issue Sep 17, 2014 · 6 comments
Open

Add volume normalization #29

colegleason opened this issue Sep 17, 2014 · 6 comments

Comments

@colegleason
Copy link
Member

No description provided.

@ajmadsen
Copy link

How would this work for youtube videos?

@colegleason
Copy link
Member Author

It would have to sample the volume for the beginning of the song and adjust
to keep amplitude within some range.

On Wed, Sep 17, 2014 at 12:28 PM, Adam Madsen [email protected]
wrote:

How would this work for youtube videos?


Reply to this email directly or view it on GitHub
#29 (comment).

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

@colegleason
Copy link
Member Author

average amplitude, perhaps

Acoustics used to do this live, not modifying the files.

On Wed, Sep 17, 2014 at 12:29 PM, Cole [email protected] wrote:

It would have to sample the volume for the beginning of the song and
adjust to keep amplitude within some range.

On Wed, Sep 17, 2014 at 12:28 PM, Adam Madsen [email protected]
wrote:

How would this work for youtube videos?


Reply to this email directly or view it on GitHub
#29 (comment).

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

@colegleason
Copy link
Member Author

How is beats playing youtube videos? Mplayer already supports this:
http://www.commandlinefu.com/commands/view/8893/normalize-volume-output-in-mplayer

On Wed, Sep 17, 2014 at 12:30 PM, Cole [email protected] wrote:

average amplitude, perhaps

Acoustics used to do this live, not modifying the files.

On Wed, Sep 17, 2014 at 12:29 PM, Cole [email protected] wrote:

It would have to sample the volume for the beginning of the song and
adjust to keep amplitude within some range.

On Wed, Sep 17, 2014 at 12:28 PM, Adam Madsen [email protected]
wrote:

How would this work for youtube videos?


Reply to this email directly or view it on GitHub
#29 (comment).

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

@ajmadsen
Copy link

For actual audio files, you can use something like replaygain and store the values in the database no problem.

For audio sources you can't scan entirely before playing, you can do some sort of adaptive scaling/compressing, but that will destroy any sort of dynamic range in a song.

@colegleason
Copy link
Member Author

I would rather have the adaptive scaling than constantly have to adjust the
sound level in beats.

On Wed, Sep 17, 2014 at 12:34 PM, Adam Madsen [email protected]
wrote:

For actual audio files, you can use something like replaygain and store
the values in the database no problem.

For audio sources you can't scan entirely before playing, you can do some
sort of adaptive scaling/compressing, but that will destroy any sort of
dynamic range in a song.


Reply to this email directly or view it on GitHub
#29 (comment).

Cole Gleason

Student, University of Illinois at Urbana-Champaign
Email: [email protected]
Website: colegleason.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants