-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
normalize is a tool for adjusting the volume of audio files to a standard level. This is useful for things like creating mixed CD's and mp3 collections, where different recording levels on different albums can cause the volume to vary greatly from song to song.
- Loading branch information
jasoni
committed
Apr 28, 2002
1 parent
ef7525f
commit cde50c0
Showing
10 changed files
with
223 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# $OpenBSD: Makefile,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
|
||
COMMENT= "audio file volume normalizer" | ||
|
||
DISTNAME= normalize-0.7.3 | ||
CATEGORIES= audio | ||
NEED_VERSION= 1.522 | ||
MASTER_SITES= http://www.cs.columbia.edu/~cvaill/normalize/ | ||
|
||
HOMEPAGE= http://www.cs.columbia.edu/~cvaill/normalize/ | ||
|
||
MAINTAINER= Jason Ish <[email protected]> | ||
|
||
# GPL license | ||
PERMIT_PACKAGE_CDROM= Yes | ||
PERMIT_PACKAGE_FTP= Yes | ||
PERMIT_DISTFILES_CDROM= Yes | ||
PERMIT_DISTFILES_FTP= Yes | ||
|
||
MODULES= gettext | ||
|
||
CONFIGURE_STYLE=gnu | ||
|
||
# Do not build xmms plugin for now. | ||
CONFIGURE_ARGS= --disable-xmms \ | ||
--with-mad \ | ||
--with-audiofile | ||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ | ||
LDFLAGS="-L${LOCALBASE}/lib" | ||
|
||
LIB_DEPENDS+= mad::audio/mad \ | ||
audiofile::devel/libaudiofile | ||
|
||
.include <bsd.port.mk> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MD5 (normalize-0.7.3.tar.gz) = b29d7d59cb786a0c496a054bdc2d6400 | ||
RMD160 (normalize-0.7.3.tar.gz) = 935f8ccf4f99bc50ab1696c57993cc959f97d5e8 | ||
SHA1 (normalize-0.7.3.tar.gz) = b43c381fc34fa17ad4c3410e566e3914bcbef41b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
--- src/Makefile.in.orig Tue Mar 12 00:41:33 2002 | ||
+++ src/Makefile.in Wed Apr 24 11:26:44 2002 | ||
@@ -673,31 +673,31 @@ install-exec-hook: | ||
# test program targets follow | ||
|
||
mktestwav: mktestwav.o riff.o version.o getopt.o getopt1.o | ||
- $(LINK) $^ -lm | ||
+ $(LINK) mktestwav.o riff.o version.o getopt.o getopt1.o -lm | ||
|
||
mktestwav.o: mktestwav.c riff.h | ||
|
||
riffwalk: riffwalk.o | ||
|
||
riffwalk.o: riff.c | ||
- $(COMPILE) -DBUILD_RIFFWALK -c -o $@ $^ | ||
+ $(COMPILE) -DBUILD_RIFFWALK -c -o $@ riff.c | ||
|
||
wavread: wavread.o | ||
|
||
wavread.o: riff.c | ||
- $(COMPILE) -DBUILD_WAVREAD -c -o $@ $^ | ||
+ $(COMPILE) -DBUILD_WAVREAD -c -o $@ riff.c | ||
|
||
test-wiener-af: test-wiener-af.o wav.o riff.o version.o | ||
- $(LINK) $^ -lm | ||
+ $(LINK) test-wiener-af.o wav.o riff.o version.o -lm | ||
|
||
test-wiener-af.o: testaf.c | ||
- $(COMPILE) -DFORCE_NOAUDIOFILE -c -o $@ $^ | ||
+ $(COMPILE) -DFORCE_NOAUDIOFILE -c -o $@ testaf.c | ||
|
||
test-real-af: test-real-af.o | ||
- $(LINK) $^ -L/usr/local/lib -lm -laudiofile | ||
+ $(LINK) test-real-af.o -L/usr/local/lib -lm -laudiofile | ||
|
||
test-real-af.o: testaf.c | ||
- $(COMPILE) -DFORCE_AUDIOFILE -c -o $@ $^ | ||
+ $(COMPILE) -DFORCE_AUDIOFILE -c -o $@ testaf.c | ||
# Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
# Otherwise a system limit (for SysV at least) may be exceeded. | ||
.NOEXPORT: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$OpenBSD: patch-src_normalize-mp3_in,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
--- src/normalize-mp3.in.orig Sat Feb 23 12:49:57 2002 | ||
+++ src/normalize-mp3.in Wed Apr 24 11:59:06 2002 | ||
@@ -27,10 +27,10 @@ | ||
# %b becomes bitrate of re-encoded file, as specified by the -b option | ||
# Example: $OGGENCODE="oggenc -Q -b %b -o %m %w" | ||
|
||
-$MP3DECODE = "@MP3DECODE@"; | ||
-$MP3ENCODE = "@MP3ENCODE@"; | ||
-$OGGDECODE = "@OGGDECODE@"; | ||
-$OGGENCODE = "@OGGENCODE@"; | ||
+$MP3DECODE = "mpg321 -q -w %w %m"; | ||
+$MP3ENCODE = "lame --quiet -h -b %b %w %m"; | ||
+$OGGDECODE = "ogg123 -q -d wav -f %w %m"; | ||
+$OGGENCODE = "oggenc -Q -b %b -o %m %w"; | ||
|
||
$VORBISCOMMENT = "@VORBISCOMMENT@"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
$OpenBSD: patch-test_test16bit_sh,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
--- test/test16bit.sh.orig Sun Apr 21 22:07:55 2002 | ||
+++ test/test16bit.sh Sun Apr 21 22:09:00 2002 | ||
@@ -19,12 +19,12 @@ echo "Testing 16-bit wavs..." >&3 | ||
../src/mktestwav -a 0.5 -b 2 -c 2 stereo.wav | ||
|
||
# Check that the files written by mktestwav are correct | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_BEFORE*) ;; | ||
*) echo "FAIL: created mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_BEFORE*) ;; | ||
*) echo "FAIL: created stereo.wav has bad checksum!" >&3; exit 1 ;; | ||
@@ -53,12 +53,12 @@ echo "mono.wav and stereo.wav measured s | ||
# Check that normalize correctly normalizes the volume of the files | ||
../src/normalize -q mono.wav | ||
../src/normalize -q stereo.wav | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_AFTER*) ;; | ||
*) echo "FAIL: adjusted mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_AFTER*) ;; | ||
*) echo "FAIL: adjusted stereo.wav has bad checksum!" >&3; exit 1 ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
$OpenBSD: patch-test_test24bit_sh,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
--- test/test24bit.sh.orig Sun Apr 21 22:08:02 2002 | ||
+++ test/test24bit.sh Sun Apr 21 22:09:30 2002 | ||
@@ -19,12 +19,12 @@ echo "Testing 24-bit wavs..." >&3 | ||
../src/mktestwav -a 0.5 -b 3 -c 2 stereo.wav | ||
|
||
# Check that the files written by mktestwav are correct | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_BEFORE*) ;; | ||
*) echo "FAIL: created mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_BEFORE*) ;; | ||
*) echo "FAIL: created stereo.wav has bad checksum!" >&3; exit 1 ;; | ||
@@ -53,12 +53,12 @@ echo "mono.wav and stereo.wav measured s | ||
# Check that normalize correctly normalizes the volume of the files | ||
../src/normalize -q mono.wav | ||
../src/normalize -q stereo.wav | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_AFTER*) ;; | ||
*) echo "FAIL: adjusted mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_AFTER*) ;; | ||
*) echo "FAIL: adjusted stereo.wav has bad checksum!" >&3; exit 1 ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
$OpenBSD: patch-test_test8bit_sh,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
--- test/test8bit.sh.orig Sun Apr 21 22:08:08 2002 | ||
+++ test/test8bit.sh Sun Apr 21 22:09:40 2002 | ||
@@ -19,12 +19,12 @@ echo "Testing 8-bit wavs..." >&3 | ||
../src/mktestwav -a 0.5 -b 1 -c 2 stereo.wav | ||
|
||
# Check that the files written by mktestwav are correct | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_BEFORE*) ;; | ||
*) echo "FAIL: created mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_BEFORE*) ;; | ||
*) echo "FAIL: created stereo.wav has bad checksum!" >&3; exit 1 ;; | ||
@@ -53,12 +53,12 @@ echo "mono.wav and stereo.wav measured s | ||
# Check that normalize correctly normalizes the volume of the files | ||
../src/normalize -q mono.wav | ||
../src/normalize -q stereo.wav | ||
-CHKSUM=`tail -c +44 mono.wav | md5sum` | ||
+CHKSUM=`tail -c +44 mono.wav | md5` | ||
case "$CHKSUM" in | ||
$MONO_AFTER*) ;; | ||
*) echo "FAIL: adjusted mono.wav has bad checksum!" >&3; exit 1 ;; | ||
esac | ||
-CHKSUM=`tail -c +44 stereo.wav | md5sum` | ||
+CHKSUM=`tail -c +44 stereo.wav | md5` | ||
case "$CHKSUM" in | ||
$STEREO_AFTER*) ;; | ||
*) echo "FAIL: adjusted stereo.wav has bad checksum!" >&3; exit 1 ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
normalize is a tool for adjusting the volume of audio files to a | ||
standard level. This is useful for things like creating mixed | ||
CD's and mp3 collections, where different recording levels on | ||
different albums can cause the volume to vary greatly from song | ||
to song. | ||
|
||
WWW: ${HOMEPAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
+---------------------- | ||
| | ||
| Before the normalize-mp3 and normalize-ogg scripts can be | ||
| used, you first need to install mpg321 and lame for normalize-mp3, | ||
| add vorbis-tools for normalize-ogg. | ||
| | ||
| These extra packages are not required for normal operation of | ||
| normalize. | ||
| | ||
+---------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/04/28 09:11:37 jasoni Exp $ | ||
bin/normalize | ||
bin/normalize-mp3 | ||
bin/normalize-ogg | ||
man/man1/normalize-mp3.1 | ||
man/man1/normalize.1 | ||
share/locale/en_GB/LC_MESSAGES/normalize.mo | ||
share/locale/fr/LC_MESSAGES/normalize.mo |