vontrapp / replaygain Goto Github PK
View Code? Open in Web Editor NEWA unifying python script to add replay-gain tags to various formats.
A unifying python script to add replay-gain tags to various formats.
Some more awesome players use a set of replaygain_* tags to adjust the playback volume on the fly - without the need to modify the audio data on disk. It's completely lossless. However, to create these tags, you have to use a different specialized tool for each different format. metaflac for flac files, vorbisgain for ogg, etc. This is just a wrapper script, in python, to call the various tools for each type, so you don't have to think about it. In the most simple case: replaygain will just take all taggable audio files in the current directory, calculate batch gain values and individual gain values, and save the tags into each file. More complex operations could include things like: replaygain -a * For each distinct album tag found on all input files, calculate a * separate batch album value for files with that album tag. replaygain -r -d * Find all files recursively under the given directory, calculate the * batch values grouped by directory. replaygain -r -a * like the previous, except keep track of ALL files found recursively, * their album tags, and the running batch average. Save it all at the * very end. replaygain *.flac * Only operate on the files given replaygain -t * Separate batch calculation by filetype - you might have mp3 files from * one source, and flac files from another, but all from the same album. * It wouldn't necessarily make sense to calculate them as a single * album. When replaygain has a set of files in what it will consider an "album" and all files have homogeneous replaygain_album_* tags, then replaygain will skip them unless asked not to. It will also assume any existing replaygain_track_* tags are correct unless asked not to. Relevant flags to be determined.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.