Use proper mp3gain tool.
This commit is contained in:
parent
bc9c7977c0
commit
ec4b788e09
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#mp3gain -k -p -a -s i *.mp3
|
# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio
|
||||||
replaygain *.mp3
|
mp3gain -k -p -a -s i *.mp3
|
||||||
|
#replaygain *.mp3
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#mp3gain -k -p -r -s i "$@"
|
# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio
|
||||||
replaygain --no-album "$@"
|
mp3gain -k -p -r -s i "$@"
|
||||||
|
#replaygain --no-album "$@"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Install mp3gain from https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio
|
||||||
if [ "$#" = "0" ]; then
|
if [ "$#" = "0" ]; then
|
||||||
echo "Usage: $0 file1 [file2 file3 ... fileN]"
|
echo "Usage: $0 file1 [file2 file3 ... fileN]"
|
||||||
echo "(Needs package python-rgain to be installed!)"
|
echo "(Needs package python-rgain to be installed!)"
|
||||||
@ -10,7 +11,7 @@ if [ -z "$CONCURRENCY_LEVEL" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Processing using $CONCURRENCY_LEVEL processes..."
|
echo "Processing using $CONCURRENCY_LEVEL processes..."
|
||||||
#nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} mp3gain -q -k -p -r -s i "{}"
|
nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} mp3gain -q -k -p -r -s i "{}"
|
||||||
nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} replaygain --no-album "{}"
|
#nice -n2 find "$@" -print0 | xargs -0 -P $CONCURRENCY_LEVEL -n 1 -I {} replaygain --no-album "{}"
|
||||||
|
|
||||||
echo "All done."
|
echo "All done."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user