audio/amSynth: Updated for version 1.9.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2019-11-16 21:04:50 +07:00 committed by Willy Sudiarto Raharjo
parent d21f4d3851
commit b873eb05f1
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
4 changed files with 85 additions and 37 deletions

View File

@ -1,7 +1,35 @@
amSynth stands for Analogue Modeling SYNTHesizer. amsynth is an analog modelling (a.k.a virtual analog) software synthesizer.
It provides virtual analogue synthesis in the style of the classic It mimics the operation of early analog subtractive synthesizers with
Moog Minimoog/Roland Junos. It offers an easy-to-use interface and classic oscillator waveforms, envelopes, filter, modulation and effects.
synth engine, while still creating varied sounds.
jack-audio-connection-kit is an optional dependency. The aim is to make it easy to create and modify sounds.
Features
--------
* Dual oscillators (sine / saw / square / noise) with hard sync
* 12/24 dB/oct resonant filter (low-pass / high-pass / band-pass / notch)
* Mono / poly / legato keyboard modes
* Dual ADSR envelope generators (filter & amplitude)
* LFO which can modulate the oscillators, filter, and amplitude
* Distortion and reverb
* Hundreds of presets
There are currently several different ways to run amsynth:
* Stand-alone application using JACK, ALSA or OSS
* DSSI plug-in
* LV2 plug-in
* VST plug-in
This package uses POSIX filesystem capabilities to execute with
elevated privileges (required for realtime audio processing). This
may be considered a security/stability risk. Please read
http://www.slackbuilds.org/caps/ for more information. To disable
capabilities, pass SETCAP=no to the script.
Optional dependencies, autodetected at buildtime:
jack-audio-connection-kit||jack2,lash,dssi,pandoc

View File

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
# Slackware build script for amSynth # Slackware build script for amsynth
# Copyright (C) 2006 paul wisehart wise@lupulin.net # Copyright 2006 paul wisehart wise@lupulin.net
# Copyright 2019 Johannes Schoepfer, Germany
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -22,17 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
PRGNAM=amSynth PRGNAM=amSynth
SRCNAM=amsynth VERSION=${VERSION:-1.9.0}
VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -43,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -62,9 +60,11 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $SRCNAM-release-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/release-$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $SRCNAM-release-$VERSION #cd $PRGNAM-$VERSION
# Since the source doesn't contain "S" ..., i'd like to rename this package for a reason
cd amsynth-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -72,20 +72,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--enable-static=no \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--disable-static \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# only if pandoc is present
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@ -94,5 +105,14 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh
# Only add capability stuff if not disabled:
if [ "${SETCAP:-yes}" = "yes" ]; then
# set realtime capabilities
echo "/sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/amsynth" >> $PKG/install/doinst.sh
# Only allow execution by audio group
chown root:audio $PKG/usr/bin/*
chmod 0750 $PKG/usr/bin/*
fi
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,10 +1,10 @@
PRGNAM="amSynth" PRGNAM="amSynth"
VERSION="1.6.3" VERSION="1.9.0"
HOMEPAGE="https://github.com/amsynth/amsynth/" HOMEPAGE="https://amsynth.github.io/"
DOWNLOAD="https://github.com/amsynth/amsynth/archive/release-1.6.3.tar.gz" DOWNLOAD="https://github.com/amsynth/amsynth/releases/download/release-1.9.0/amSynth-1.9.0.tar.bz2"
MD5SUM="8d172ebd8a767fbb20d56931f259f846" MD5SUM="2328dba5ffb5310ff7b1ab14805da9d5"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Christopher Forrest" MAINTAINER="Johannes Schoepfer"
EMAIL="nyrednek@gmx.com" EMAIL="slackbuilds@schoepfer.info"

View File

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
amSynth: amSynth (Analogue Modeling SYNTHesizer) amsynth: amsynth (analogue modelling synthesizer)
amSynth: amsynth:
amSynth: AMSynth provides virtual analogue synthesis in the style of the amsynth: It mimics the operation of early analog subtractive synthesizers.
amSynth: classic Moog Minimoog/Roland Junos. It offers an easy-to-use amsynth: The aim is to make it easy to create and modify sounds.
amSynth: interface and synth engine, while still creating varied sounds. amsynth:
amSynth: amsynth: * Dual oscillators (sine/saw/square/noise) with hard sync
amSynth: amsynth: * 12/24 dB/oct resonant filter (low-pass/high-pass/band-pass/notch)
amSynth: amsynth: * Dual ADSR envelope generators (filter & amplitude)
amSynth: amsynth: * LFO which can modulate the oscillators, filter, and amplitude
amSynth: amsynth: * Distortion and reverb
amSynth: amsynth: * Hundreds of presets