search for: measuredgain

Displaying 2 results from an estimated 2 matches for "measuredgain".

2012 Feb 26
3
PATCH: Add test for metaflac --add-replay-gain
...##* $RATE/*}" ] || break +??? echo -n "Testing FLAC replaygain $RATE ($FREQ x $MULTIPLE) ... " +??? tonegenerator $RATE > $flacfile +??? run_metaflac --add-replay-gain $flacfile +??? run_metaflac --list $flacfile | grep REPLAYGAIN.*GAIN= | +??? while read -r REPLAYGAIN ; do +????? MEASUREDGAIN="${REPLAYGAIN##*=}" +????? MEASUREDGAIN="${MEASUREDGAIN%% *}" +????? if [ x"$MEASUREDGAIN" != x"$GAIN" ] ; then +??????? die "ERROR, Expected $GAIN db instead of $REPLAYGAIN" +????? fi +??? done +??? echo OK +? done +done + ?rm -f $testdir/out.flac...
2014 Nov 30
4
awk vs. mawk
...eplaygain $RATE ($FREQ x $MULTIPLE) ... " + flacfile=$AWK.$RATE.replaygain.flac tonegenerator $RATE > $flacfile run_metaflac --add-replay-gain $flacfile run_metaflac --list $flacfile | grep REPLAYGAIN.*GAIN= | @@ -175,9 +161,11 @@ for ACTION in $REPLAYGAIN_FREQ ; do MEASUREDGAIN="${REPLAYGAIN##*=}" MEASUREDGAIN="${MEASUREDGAIN%% *}" if [ x"$MEASUREDGAIN" != x"$GAIN" ] ; then - die "ERROR, Expected $GAIN db instead of $REPLAYGAIN" + #die "ERROR, Expected $GAIN db instead of $REPLAYGAIN"...