summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2014-09-16 07:43:26 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-16 07:43:26 +0700
commit2363863b9bc0c598efa325452aeead8015800f5b (patch)
tree5ad974d9475cd749ba6c30547b2a701057a6ee03 /audio
parentb56bb7759ed5bcb521235ab7d9021e6c36d0bb06 (diff)
downloadslackbuilds-2363863b9bc0c598efa325452aeead8015800f5b.tar.gz
slackbuilds-2363863b9bc0c598efa325452aeead8015800f5b.tar.xz
audio/rubberband: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/rubberband/rubberband.1120
-rw-r--r--audio/rubberband/rubberband.SlackBuild21
-rw-r--r--audio/rubberband/rubberband.info6
3 files changed, 140 insertions, 7 deletions
diff --git a/audio/rubberband/rubberband.1 b/audio/rubberband/rubberband.1
new file mode 100644
index 0000000000..73bbf1058c
--- /dev/null
+++ b/audio/rubberband/rubberband.1
@@ -0,0 +1,120 @@
+.\" This manpage has been automatically generated by docbook2man
+.\" from a DocBook document. This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" Please send any bug reports, improvements, comments, patches,
+.\" etc. to Steve Cheng <steve@ggi-project.org>.
+.TH "RUBBERBAND" "1" "15 September 2014" "" ""
+
+.SH NAME
+rubberband \- an audio time-stretching and pitch-shifting utility program
+.SH SYNOPSIS
+
+\fBrubberband\fR [ \fB\fIoptions\fB\fR ] [ \fB\fIinput file\fB\fR ] [ \fB\fIoutput file\fB\fR ]
+
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBrubberband\fR command.
+.PP
+Rubber Band is a program that permits you to change the
+tempo and pitch of an audio recording independently of one
+another.
+.SH "OPTIONS"
+.PP
+These programs follow the usual GNU command line syntax,
+with long options starting with two dashes (`-'). A summary of
+options is included below.
+.PP
+You must specify at least one of the following time and
+pitch ratio options.
+.TP
+\fB-t, --time \fIX\fB\fR
+Stretch to \fIX\fR times original
+duration, or
+.TP
+\fB-T, --tempo \fIX\fB\fR
+Change tempo by multiple \fIX\fR (equivalent to --time 1/X)
+.TP
+\fB-p, --pitch \fIX\fB\fR
+Raise pitch by \fIX\fR semitones, or
+.TP
+\fB-f, --frequency \fIX\fB\fR
+Change frequency by multiple \fIX\fR
+.PP
+The following option provides a simple way to adjust the
+sound. See below for more details.
+.TP
+\fB-n, --crisp \fIN\fB\fR
+Crispness (N = 0,1,2,3,4,5); default 4 (see below)
+.PP
+The remaining options fine-tune the processing mode and
+stretch algorithm. These are mostly included for test purposes;
+the default settings and standard crispness parameter are
+intended to provide the best sounding set of options for most
+situations.
+.TP
+\fB-P, --precise\fR
+Aim for minimal time distortion (implied by -R)
+.TP
+\fB-R, --realtime\fR
+Select realtime mode (implies -P --no-threads)
+.TP
+\fB--no-threads\fR
+No extra threads regardless of CPU and channel count
+.TP
+\fB--threads\fR
+Assume multi-CPU even if only one CPU is identified
+.TP
+\fB--no-transients\fR
+Disable phase resynchronisation at transients
+.TP
+\fB--bl-transients\fR
+Band-limit phase resync to extreme frequencies
+.TP
+\fB--no-peaklock\fR
+Disable phase locking to peak frequencies
+.TP
+\fB--no-softening\fR
+Disable large-ratio softening of phase locking
+.TP
+\fB--window-long\fR
+Use longer processing window (actual size may vary)
+.TP
+\fB--window-short\fR
+Use shorter processing window
+.TP
+\fB--thresh \fIN\fB \fIF\fB\fR
+Set internal freq threshold \fIN\fR (N = 0,1,2) to \fIF\fR Hz
+.TP
+\fB-d, --debug \fIN\fB\fR
+Select debug level (N = 0,1,2,3); default 0, full 3
+(N.B. debug level 3 includes audible ticks in output)
+.TP
+\fB-q, --quiet\fR
+Suppress progress output
+.TP
+\fB-h, --help\fR
+Show a list of available options
+.PP
+Crispness levels:
+.TP
+\fB0\fR
+equivalent to --no-transients --no-peaklock --window-long
+.TP
+\fB1\fR
+equivalent to --no-transients --no-peaklock
+.TP
+\fB2\fR
+equivalent to --no-transients
+.TP
+\fB3\fR
+equivalent to --bl-transients
+.TP
+\fB4\fR
+default processing options
+.TP
+\fB5\fR
+equivalent to --no-peaklock --window-short (may be suitable for drums)
+.SH "AUTHOR"
+.PP
+Rubber Band was written by Chris Cannam <cannam@all-day-breakfast.com>\&.
diff --git a/audio/rubberband/rubberband.SlackBuild b/audio/rubberband/rubberband.SlackBuild
index 833407b526..3861dcc57b 100644
--- a/audio/rubberband/rubberband.SlackBuild
+++ b/audio/rubberband/rubberband.SlackBuild
@@ -4,6 +4,14 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+# Modified by B. Watson <yalhcru@gmail.com>
+# 20140915 bkw:
+# - took over maintenance
+# - get rid of static lib
+# - use sed instead of a diff for $LIBDIRSUFFIX
+# - fix libdir in .pc files also
+# - add man page
+
PRGNAM=rubberband
VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-2}
@@ -52,7 +60,7 @@ find -L . \
-exec chmod 644 {} \;
# Fixup libdir on x86_64
-[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/libdir_x86_64.diff
+sed -i "s,\<lib\>,lib$LIBDIRSUFFIX,g" Makefile.in *.pc.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -64,13 +72,18 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# We don't need the static lib
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# man page borrowed from Debian
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG COPYING README.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/rubberband/rubberband.info b/audio/rubberband/rubberband.info
index a8b3485f3e..f20c1086b6 100644
--- a/audio/rubberband/rubberband.info
+++ b/audio/rubberband/rubberband.info
@@ -1,10 +1,10 @@
PRGNAM="rubberband"
VERSION="1.8.1"
HOMEPAGE="http://www.breakfastquay.com/rubberband"
-DOWNLOAD="http://code.breakfastquay.com/attachments/download/34/rubberband-1.8.1.tar.bz2"
+DOWNLOAD="http://breakfastquay.com/files/releases/34/rubberband-1.8.1.tar.bz2"
MD5SUM="6c2b4e18a714bcc297d0db81a10f9348"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ladspa_sdk vamp-plugin-sdk"
-MAINTAINER="Luis Henrique"
-EMAIL="lmello.009@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"