Import aubio. Needed by upcoming ardour port.
aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio. help/ok ajacoutot
This commit is contained in:
parent
949299b922
commit
72ed103e79
37
audio/aubio/Makefile
Normal file
37
audio/aubio/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/16 15:08:09 stsp Exp $
|
||||
|
||||
COMMENT = extract annotations from audio signals
|
||||
DISTNAME = aubio-0.3.2
|
||||
SHARED_LIBS += aubio 0.0 # 3.1
|
||||
SHARED_LIBS += aubioext 0.0 # 3.1
|
||||
CATEGORIES = audio
|
||||
HOMEPAGE = http://aubio.org
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = c m pthread fftw3f jack samplerate sndfile
|
||||
MASTER_SITES = http://aubio.org/pub/
|
||||
MODULES = lang/python
|
||||
BUILD_DEPENDS = devel/swig
|
||||
LIB_DEPENDS = audio/jack \
|
||||
math/fftw3,float
|
||||
USE_LIBTOOL = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
||||
CONFIGURE_FLAGS += --enable-test-progs
|
||||
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
REGRESS_TARGET = run-tests
|
||||
# regress requires a running jackd instance
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
do-regress:
|
||||
(cd ${WRKSRC}/examples/tests && env -i ${MAKE_ENV} ${MAKE_PROGRAM} \
|
||||
${ALL_REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET} \
|
||||
${REGRESS_LOG})
|
||||
|
||||
.include <bsd.port.mk>
|
5
audio/aubio/distinfo
Normal file
5
audio/aubio/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (aubio-0.3.2.tar.gz) = /8Pl5IgP7GcGTwQyUiY6RA==
|
||||
RMD160 (aubio-0.3.2.tar.gz) = ROO7irOKpxUFJGbnrlASMImRS1s=
|
||||
SHA1 (aubio-0.3.2.tar.gz) = jvfMvxik+m23EqkZKsr8nI0ICXg=
|
||||
SHA256 (aubio-0.3.2.tar.gz) = 3BOHsEhhCmFB9SPCcxS3pgvSmcPWeJw3JEXdxlEVEs0=
|
||||
SIZE (aubio-0.3.2.tar.gz) = 609006
|
17
audio/aubio/patches/patch-src_pitchschmitt_c
Normal file
17
audio/aubio/patches/patch-src_pitchschmitt_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_pitchschmitt_c,v 1.1.1.1 2012/08/16 15:08:09 stsp Exp $
|
||||
Fix an out-of-bounds array access during 'make regress'.
|
||||
--- src/pitchschmitt.c.orig Thu Jul 27 01:27:23 2006
|
||||
+++ src/pitchschmitt.c Thu Aug 16 12:50:53 2012
|
||||
@@ -73,9 +73,9 @@ smpl_t aubio_schmittS16LE (aubio_pitchschmitt_t *p, ui
|
||||
t1 = (sint_t)( A1 * trigfact + 0.5);
|
||||
t2 = - (sint_t)( A2 * trigfact + 0.5);
|
||||
startpoint=0;
|
||||
- for (j=1; schmittBuffer[j]<=t1 && j<blockSize; j++);
|
||||
- for (; !(schmittBuffer[j] >=t2 &&
|
||||
- schmittBuffer[j+1]< t2) && j<blockSize; j++);
|
||||
+ for (j=1; j<blockSize && schmittBuffer[j]<=t1; j++);
|
||||
+ for (; j<blockSize-1 && !(schmittBuffer[j] >=t2 &&
|
||||
+ schmittBuffer[j+1]< t2); j++);
|
||||
startpoint=j;
|
||||
schmittTriggered=0;
|
||||
endpoint=startpoint+1;
|
4
audio/aubio/pkg/DESCR
Normal file
4
audio/aubio/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
aubio is a tool designed for the extraction of annotations from audio
|
||||
signals. Its features include segmenting a sound file before each of its
|
||||
attacks, performing pitch detection, tapping the beat and producing midi
|
||||
streams from live audio.
|
129
audio/aubio/pkg/PLIST
Normal file
129
audio/aubio/pkg/PLIST
Normal file
@ -0,0 +1,129 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/16 15:08:09 stsp Exp $
|
||||
bin/aubiocut
|
||||
@bin bin/aubionotes
|
||||
@bin bin/aubioonset
|
||||
bin/aubiopitch
|
||||
@bin bin/aubiotrack
|
||||
include/aubio/
|
||||
include/aubio/aubio.h
|
||||
include/aubio/aubioext.h
|
||||
include/aubio/beattracking.h
|
||||
include/aubio/biquad.h
|
||||
include/aubio/config.h
|
||||
include/aubio/fft.h
|
||||
include/aubio/filter.h
|
||||
include/aubio/hist.h
|
||||
include/aubio/jackio.h
|
||||
include/aubio/mathutils.h
|
||||
include/aubio/midi/
|
||||
include/aubio/midi/list.h
|
||||
include/aubio/midi/midi.h
|
||||
include/aubio/midi/midi_driver.h
|
||||
include/aubio/midi/midi_event.h
|
||||
include/aubio/midi/midi_file.h
|
||||
include/aubio/midi/midi_parser.h
|
||||
include/aubio/midi/midi_player.h
|
||||
include/aubio/midi/midi_track.h
|
||||
include/aubio/midi/timer.h
|
||||
include/aubio/onset.h
|
||||
include/aubio/onsetdetection.h
|
||||
include/aubio/peakpick.h
|
||||
include/aubio/phasevoc.h
|
||||
include/aubio/pitchdetection.h
|
||||
include/aubio/pitchfcomb.h
|
||||
include/aubio/pitchmcomb.h
|
||||
include/aubio/pitchschmitt.h
|
||||
include/aubio/pitchyin.h
|
||||
include/aubio/pitchyinfft.h
|
||||
include/aubio/resample.h
|
||||
include/aubio/sample.h
|
||||
include/aubio/scale.h
|
||||
include/aubio/sndfileio.h
|
||||
include/aubio/tempo.h
|
||||
include/aubio/tss.h
|
||||
include/aubio/types.h
|
||||
lib/libaubio.a
|
||||
lib/libaubio.la
|
||||
@lib lib/libaubio.so.${LIBaubio_VERSION}
|
||||
lib/libaubioext.a
|
||||
lib/libaubioext.la
|
||||
@lib lib/libaubioext.so.${LIBaubioext_VERSION}
|
||||
lib/pkgconfig/aubio.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/__init__.pyo
|
||||
@comment lib/python${MODPY_VERSION}/site-packages/aubio/_aubiowrapper.a
|
||||
@comment lib/python${MODPY_VERSION}/site-packages/aubio/_aubiowrapper.la
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/_aubiowrapper.so
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubioclass.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubioclass.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubioclass.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubiowrapper.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubiowrapper.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/aubiowrapper.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/broadcast.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/broadcast.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/broadcast.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/config.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/config.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/config.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/node.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/node.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/node.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/bench/onset.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/gnuplot.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/median.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/median.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/median.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/onsetcompare.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/onsetcompare.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/onsetcompare.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/plot/
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/plot/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/plot/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/plot/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/plot/keyboard.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/beat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/cut.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/cut.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/cut.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/notes.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/onset.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/params.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/params.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/params.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/pitch.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/silence.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/silence.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/silence.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/task.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/task.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/task.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/task/utils.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/txtfile.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/txtfile.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/txtfile.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/browser.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/browser.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/browser.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/html.py
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/html.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/aubio/web/html.pyo
|
||||
share/sounds/
|
||||
share/sounds/aubio/
|
||||
share/sounds/aubio/woodblock.aiff
|
Loading…
Reference in New Issue
Block a user