Aubio is a library for audio labelling. 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. The name aubio comes
from 'audio' with a typo: several transcription errors are likely to be
found in the results too.
The aim of this project is to provide these automatic labelling features to
other audio software. Functions can be used offline in sound editors and
software samplers, or online in audio effects and virtual instruments.
===> The following configuration options are available for aubio-0.4.9_7:
COMPLEX=off: Compile with C99 complex.h
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
FFTW=on: Use single precision FFTW3 instead of built-in OOURA
JACK=on: JACK audio server support
SAMPLERATE=on: Sample rate conversion support
SNDFILE=on: Audio conversion support via libsndfile
TEST=off: Build and/or run tests
====> Build and/or install documentation
DOCS=on: Build and/or install documentation
DOXYGEN=off: Build documentation with Doxygen
MANPAGES=on: Build and/or install manual pages
===> Use 'make config' to modify these settings
audio/aubio: fix build with python 3.12
The old waf build system relies on python module imp, which was removed
in python 3.12. This workaround is lifted directly from current waflib,
and allows aubio to build with recent python versions.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
audio/py-aubio: Fix build with Clang >= 16
python/ext/ufuncs.c:48:3: error: incompatible function pointer types
initializing 'PyUFuncGenericFunction'
Const qualifiers were added to the dimension and strides arguments of
PyUFuncGenericFunction in NumPy 1.19.0 [1]. This was previously a
warning, but Clang 16 has -Werror=incompatible-function-pointer-types
turned on by default.
[1]
https://github.com/numpy/numpy/commit/e94cec800304a6a467cf90ce4e7d3e207770b4b4
Reported by: pkg-fallout
audio/aubio: unbreak build with python 3.11+
Python has set as default and deprecated the 'U' (open as Unicode) flag
for all file open routines since 3.3 release and removed it in 3.11+.
PR: 271980
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
audio/[py-]aubio: Update to 0.4.9
Enable FFMPEG option by default. This considerably expands the file formats
aubio can handle and most users of this probably already have ffmpeg installed.
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above )
audio/aubio: Update to 0.4.7
- Allow building with python 3.x
- Add DOCS option for general documentation built by sphinx
- Add MANPAGES option build/install manpages since it requires extra deps
- Add TEST option and disable building tests by default
- Whitespace align options and separate blocks for better readability
audio/py-aubio: Update to 0.4.7
- Allow concurrent installation
New port: audio/py-aubio - Python bindings for audio/aubio
- Adjust audio/aubio to be the master port for audio/py-aubio
- Take maintainership
- Fix LICENSE
Update to upstream version 0.4.2, port cleanup
- Simplify fft handling:
Only allow single precision fftw3 (recommended by upstream)
or built-in ooula (fallback)
- Use OPTION helpers
- Add LICENSE_FILE
- Pet portlint
PR: 203239
Submitted by: tkato432@yahoo.com
Reviewed by: riggs
- Update `audio/aubio' to version 0.4.1; make all dependencies/features
optional; provide a way to disable Doxygen even when it was found in the
system
- License was changed to GPLv3; do not install LICENSE_FILE since it is
merely a boilerplate with no actual copyright data
- `audio/ardour' needs to be patched for API changes in aubio 0.4. The
patch comes from upstream, but new aubio version detection logic is not
directly applicable, so simply define HAVE_AUBIO4 in the port's Makefile
- While here, ensure that `audio/ardour' gets all of its dependencies,
(ir)regardless of particular OPTIONS selected (or not selected) for the
`audio/aubio' port
- Bump port revisions of `audio/ardour' and `audio/denemo', the only two
libaubio consumers in the tree
PR: 200556 (slightly modified)
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Convert audio from USE_GMAKE to USES=gmake
While here:
- Trim headers
- Convert some USE_GNOME=pkgconfig to USES=pkgconfig
- Add some missing pkgconf dependencies
- Convert some USE_GNOME=gnomehack to USES=pathfix
This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.
PR: ports/177081
Reviewed by: bapt
Approved by: portmgr (miwi)
- Correct dependencies: math/fftw3 is only needed for build (as provider of
`fftw3.h' header file); actual linking is against math/fftw3-float)
- Cleanup Makefile: utilize CPPFLAGS, drop ABI versions in LIB_DEPENDS, wrap
overly long lines, standardize header
- Bump port revision due to updated dependencies
- Reformat port description and sort pkg-plist while here
- update fftw3* to 3.3 [1], and adjust dependent ports
- make use of optimizations by default, where possible
(quad flavor to follow shortly, and mpi at a later date)
Suggestions and patches from: ache, C. Burns, wen
aubio is a library for audio labelling. 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. The name aubio comes from 'audio' with a typo: several
transcription errors are likely to be found in the results too.
The aim of this project is to provide these automatic labelling
features to other audio softwares. Functions can be used offline
in sound editors and software samplers, or online in audio effects
and virtual instruments.
WWW: http://aubio.org/