* Mon Apr 24 2017 alarrosa@suse.com
- Update soname and generate libaubio5 package
- Update to version 0.4.5
* src/io/source_avcodec.c: add support for libswresample
* aubio: new python command line tool to extract information
* src/onset/onset.c: add spectral whitening and compression, improve default
parameters
* this_version.py: use centralized script to get current version, adding git
sha when building from git repo (thanks to MartinHN)
* src/spectral/awhithening.h: add adaptive whitening
* src/{cvec,mathutils,musicutils}.h: add cvec_logmag, fvec_logmag, and fvec_push
* src/onset/onset.h: add aubio_onset_set_default_parameters to load optimal
parameters of each novelty function, _{set,get}_compression and
_{set,get}_awhitening to turn on/off compression and adaptive whitening
* src/spectral/specdesc.h: add weighted phase
* src/onset/onset.c: improve default onset parameters (thanks to @superbock
for access to his evaluation database), see commit dccfad2 for more details
* src/pitch/pitch.c: avoid segfault when using invalid parameters
* src/temporal/biquad.c: fix biquad parameters initialization (thanks to
@jurlhardt)
* examples/aubio{onset,track}.c: add options --miditap-note and
- -miditap-velo to set which midi note is triggered at onset/beat (thanks to
@tseaver)
* examples/aubioonset.c: show actual parameters in verbose mode
* examples/utils.c: improve memory usage to emit midi notes
* python/ext/py-source.c: add with (PEP 343) and iter (PEP 234) interface
* python/ext/py-sink.c: add with interface (PEP 343)
* python/lib/aubio/cmd.py: new `aubio` command line tool
* python/lib/aubio/cut.py: moved from python/scripts/aubiocut
* doc/*.rst: reorganize and improve sphinx manual
* doc/*.txt: update manpages, add simple manpage for aubio command line
* doc/full.cfg: derive from doc/web.cfg
* README.md: simplify and add contribute information
* wscript: prefer libswresample over libavsamplerate when available, use
current version in manpages, doxygen, and sphinx, update to newest waf
* setup.py: use entry_points console_scripts to generate scripts, use
centralized version from this_version.py, clean up
* python/lib/moresetuptools.py: detect if libswresample is available
- Update to version 0.4.4
* src/utils/log.h: new function to redirect log, error, and warnings
* python/: AUBIO_ERR raises python exception, AUBIO_WRN to emit py warning
* doc/: add some documentation, fix errors in manpages
* wscript: new rules to build 'manpages', 'doxygen', and 'sphinx', new
- -build-type=<release|debug> option (thanks to Eduard Mueller)
* src/notes/notes.h: add minioi and silence methods
* examples/: add --minioi (minimum inter-onset interval) option
* src/pitch/pitchyin.c: improve msvc compiler optimisations (thanks to
Eduard Mueller)
* python/, src/: improve error messages, fix minor memory leaks
* src/io/source_avcodec.c: improve compatibility with latest ffmpeg and with
older libav/ffmpeg versions
* python/demos/: new demos to capture microphone in real time
* src/aubio.h: include utils/log.h
* src/utils/log.h: add new aubio_log_set_function to redirect log messages
* src/notes/notes.h: add aubio_notes_{get,set}_minioi_ms, add
_{get,set}_silence methods
* src/aubio_priv.h: add AUBIO_INF to print to stdout with header, use new
logging function, add ATAN alias, add stdarg.h, move #include "config.h"
* src/{fmat,fvec}.c: avoid integer division
* src/pitch/pitchyin.c: [msvc] help compiler to optimize aubio_pitchyin_do
by giving it addresses for all arrays which are referenced in inner loops,
thanks to Eduard Mueller.
* src/pitch/pitch.c: declare internal functions as static, fail on wrong
method, warn on wrong unit, improve error messages, fix error string
* src/spectral/specdesc.c: return NULL if wrong mode asked, remove trailing
spaces
* src/onset/onset.c: return null and clean-up if new_aubio_specdesc failed,
fix error message
* src/notes/notes.c: use midi note to store pitch candidate, round to
nearest note, add a variable to define precision, fix out-of-bound write,
fix unset silence_threshold, fix error message
* src/spectral/ooura_fft8g.c: add cast to avoid conversion warnings, prefix
public function with aubio_ooura_ to avoid with other apps using ooura (e.g.
puredata), make internal functions static,
* src/spectral/fft.c: add message about fftw3 being able to do non-power of
two sizes, make calls to fftw_destroy_plan thread-safe, use prefixed
aubio_ooura_rdft
* src/spectral/phasevoc.c: fix error string
* src/temporal/resampler.c: throw an error when using libsamplerate with doubles
* src/io/ioutils.h: add functions to check samplerate and channels, use in sink_*.c
* src/io/source.c: add error message when aubio was compiled with no source,
only show error message from last child source_
* src/io/source_avcodec.c: call avformat_free_context after
avformat_close_input, keep a reference to packet to remove it when closing
file, avoid deprecation warnings with ffmpeg 3.2, add backward compatibility
for libavcodec55, fix for old libavcodec54, use AV_SAMPLE_FMT_DBL when
compiling with HAVE_AUBIO_DOUBLE, fix missing samples in eof block, avoid
function calls before declarations, improve error messages, replace with new
context before closing old one, make sure s->path is set to null
* src/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static
* src/io/source_wavread.c: fix bytes_read for JUNK headers, improve error
messages, initialize buffer, skip chunks until data is found, or abort, skip
junk chunk
* src/io/source_sndfile.c: add support for multi-channel resampling, set
handle to null after sucessful close, add missing floor in ratio comparison,
improve formatting
* src/io/sink.c: only show error message from last child sink_
* src/io/sink_apple_audio.c: avoid crash on empty file name
* src/io/sink_sndfile.c: improve error message
* src/io/sink_{sndfile,wavwrite}.c: use AUBIO_MAX_CHANNELS, fix error message
* README.md: update copyright dates, use https
* src/aubio.h: add some links to examples, use https
* src/pitch/pitch.h: add aubio_pitch_get_tolerance, add basic description of
unit modes
* src/notes/notes.h: add doxygen header
* src/spectral/fft.h: strip example path
* doc/*.rst: improve sphinx documentation
* doc/android.rst: add reference to it scripts/build_android
* doc/debian_packages.rst: added page on debian packages
* doc/python_module.rst: add demo_source_simple.py, add note on pip, add
`print(aubio.version)`
* doc/cli.rst: include command line manpages
* doc/cli_features.rst: add matrix of command line features
* doc/requirements.rst: add a note about --notests (closes #77), document
- -msvc options, improve description of options
* doc/download.rst: added page on download
* doc/installing.rst: update
* doc/xcode_frameworks.rst: added page on xcode frameworks
* doc/**: use https://aubio.org
* doc/conf.py: use pyramid theme, update copyright, remove hardcoded path
* doc/web.cfg: exclude ioutils from doc
* doc/aubionotes.txt: document -M option (see #18),
* doc/aubioonset.txt: add documentation for -M, --minioi, improve threshold
description (thanks to Peter Parker), fix typo (onset, not pitch)
* doc/aubio*.txt: document -T/--timeformat option
* Makefile: add a brief intro, avoid offline operations, add html and dist
targets, add rules for documentation, simplify listing, avoid offline
operations, bump waf to 1.9.6, check for waf before clean, chmod go-w
waflib, improve clean, use pip to install, factorise pip options, generate
more test sounds, improve test_python and test_pure_python, pass build_ext
in test_pure_python{,_wheel}, quieten uninstall_python if already
uninstalled, improve test targets, use bdist_wheel in test_pure_python,
build_ext only for --enable-double, verbose waf rules, add cleanwaf
* wscript: added debug/release build type configurations release (default)
enables optimizations, debug symbols are enabled in both configurations,
thanks to Eduard Mueller.
* wscript: add options to disable source_wavread/sink_wavwrite, add check
for stdarg.h, new rules 'manpages', 'sphinx', and 'doxygen' to build
documentation, add version to sphinx and manpages, disable libsamplerate
if double precision enabled (libsamplerate only supports float), fix typos,
remove trailing spaces, improve tarball creation (./waf dist), remove
full.cfg from tarball, prepend to CFLAGS to honor user cflags
* wscript, src/wscript_build: improve install locations using DATAROOTDIR,
MANDIR, INCLUDEDIR
* wscript: default to no atlas for now
* src/wscript_build: always build static library
* scripts/build_android: add an example script to build aubio on android,
* examples/aubionotes.c: use new notes, set minioi, send last note off when
needed, add warning for missing options
* examples/aubioonset.c: add minioi option, in seconds
* examples/: only send a last note off when using jack
* examples/: return 1 if object creation failed
* examples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE
* tests/src/spectral/test-fft.c: fix default size
* tests/src/spectral/test-phasevoc.c: fix typos
* tests/src/utils/test-log.c: add AUBIO_INF, add example for
aubio_log_set_function, improve messages
* python/ext/aubiomodule.c: add aubio._aubio.__version__ and import it as
aubio.version, use custom logging function for errors and warnings, remove
duplicated add_generated_objects, use <> for non local aubio
* python/ext/py-cvec.c: use NPY_INTP_FMT
* python/ext/py-fft.c: use error string set in src/spectral/fft.c
* python/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c
* python/ext/py-sink.c: always set samplerate and channels in init
* python/ext/py-source.c: use error string set in src/io/source.c
* python/lib/aubio/midiconv.py: add unicode double sharp and double flat,
improve unicode handling, skip UnicodeEncodeError on python 2.x
* MANIFEST.in: add src/**.c, exclude full.cfg, include waflib, remove
python/ext/config.h
* setup.py: define AUBIO_VERSION use sorted glob.glob to improve
reproducibility, remove extra quotes, remove status from version string,
update description, use custom build_ext instead of 'generate' command,
define HAVE_AUBIO_DOUBLE to 1 if needed
* python/lib/gen_code.py: add support for multiple _do outputs, fix number
of output, improve del_ function, safer DECREF, fix indentation, emit RuntimeError
* python/lib/gen_external.py: clean-up, enable tss, remove duplicate,
sort generated files
* python/lib/moresetuptools.py: add HAVE_STDARG_H, also check for
HAVE_AUBIO_DOUBLE, cleaner clean, look first for system library, then for
local build, then local sources, mo nore fake config.h here, use
samplerate in single precision only
* python/README.md: add a note about nose2 for python tests (closes #74)
* scripts/setenv_local.sh: python3 compat
* python/demos/demo_alsa.py: add example using alsaaudio (closes #72)
* python/demos/demo_mfcc.py: add options to plot first and second
derivatives, and set samplerate/win_s/hop_s, thanks to @jhoelzl (closes #68)
* python/demos/demo_notes.py: add simple notes demos
* python/demos/demo_pyaudio.py: added simple demo for pyaudio, see #6,
closes #78, thanks to @jhoelzl and @notalentgeek, add some comments, avoid
overwriting aubio.pitch
* python/demos/demo_source_simple.py: fix indentation, make executable
* python/demos/demo_timestretch{,_online}.py: fix usage string, remove
unused import, use // to yield an integer (closes #71)
* python/demos/demo_timestretch_online.py: use 512, fix block counter
* python/demos/demo_tss.py: improve default parameters, exit before plotting
* python/tests/: use local import, add __init__.py
* python/tests/test_cvec.py: simplify
* python/tests/test_fft.py: skip test fft(zeros).phas == 0 if needed, expected powerpc
* python/tests/test_fvec.py: reduce alpha norm precision to 10.-4
* python/tests/test_{midi2note,note2midi}.py: use nose2.params, add unicode tests
* python/tests/test_notes.py: add basic tests
* python/tests/test_notes.py: test results are correct for 44100Hz_44100f_sine441.wav
* python/tests/test_sink.py: add more tests, quiet warnings
* python/tests/test_source.py: break long line, check the tail of the file
is non-zero on non silent test files, filter user warnings to avoid spamming
the console, only check if last frames are non silent on brownnoise (weak),
remove fragile brownnoise test, check duration on short files, use nose2
params to process one sound file per test
* python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode
* python/tests/utils.py: by default, use 5 seconds brownoise
- Update to version 0.4.3
* src/io/source.h, src/io/source_*.h: add _get_duration
* src/notes/notes.h: add basic notes object
* src/tempo/beattracking.{c,h}: add _get_period and _get_period_s
* src/mathutils.h: add fvec_ishift
* src/fvec.{c,h}: add fvec_weighted_copy
* src/tempo/tempo.{c,h}: add _get_period and _get_period_s, also add tatum,
a subdivision of the beat period, default to 4, implement get/set_delay
* src/**.{c,h}: use #ifdef HAVE_FOO, not #if _HAVE_FOO, add const qualifiers
to unmodified pointers (see #35)
* src/{fmat,fvec,mathutils}.c: optimisations (using atlas or Accelerate when
available) for fvec_sum, fvec_mean, fvec_shift, aubio_level_lin,
fvec_set_all, fvec_zeros, fvec_weight, fvec_copy, fvec_weighted_copy,
fmat_vecmul
* src/aubio_priv.h: check for atlas cblas, use cblas_xswap, vDSP_dotpr,
protect SQR parameters, avoid redefining MIN/MAX, define PATH_MAX and PI
when needed, use _isnan on windows msvc 9 to avoid linking error, more
windows hacks
* src/mathutils.c: avoid for loop initial declarations [gcc], use
HAVE_ATLAS, use smpl_t for constants
* src/fmat.c: skip asserts
* src/spectral/{filterbank,mfcc}.c: use accelerated fmat_vecmul
* src/spectral/fft.c: fftw can be used odd length sizes, not Ooura,
factorise double / single flags, use memcpy
* src/spectral/phasevoc.c: fix arguments checks, return NULL when fft
creation failed , apply windowing for resynthesized grain, use ishift for
odd windows, fix scaling factors for correct reconstruction at 50 and 75%
overlap
* src/pitch/pitch.c: allow for silence == 0, improve error messages
* src/pitch/pitchmcomb.c: fix candidates sorting function, really comparing
current to next
* src/notes/notes.c: equivalent to previous examples/aubionotes.c results
* src/onset/onset.c: simplify selection of first onset, fix for "conversion
from 'smpl_t' to 'uint_t', possible loss of data" with msvc
* src/pitch/pitchmcomb.c: scan across all spectrum
* src/pitch/pitchyinfft.c: use fvec_weighted_copy
* src/{spectral/*.c,onset/*.c,tempo/*.c}: make sure win_size > 1
* src/io/*.c: use custom defines for {source,sink}_apple_audio, take a copy
of const char* path
* src/io/source_avcodec.c:
- update to libav10, libavcodec 55.34.1
- avoid deprecation warning, detect if we use ffmpeg or libav version
- check if the uri is a network stream using av_url_split, call
avformat_network_init() if needed
- check if we still need max_analyze_duration2 (closes #53, thanks to
@anthonylauzon)
* src/io/source_{avcodec,sndfile}.c: avoid modifying input param
* src/io/{sink,source,utils}_apple_audio.c: fix memory leak calling
CFRelease (closes #26, closes #27, and closes #28)
* src/io/sink_apple_audio.c: disable async mode for now, factorise code
* src/io/source_apple_audio.c: check out of bounds _seek, set s->path, quiet
* src/io/source_sndfile.c: fix crash, zero-pad output vector when
upsampling, use sf_read_double when compiling with AUBIO_DOUBLE, approximate
duration when resampling
* src/io/sink_sndfile.c: fix for double precision
* src/synth/sampler.c: fix typo, keeps a copy of uri
* src/tempo/tempo.c: do not write novelty function in output[1]
* src/temporal/resampler.c: make msvc happier adding a dummy variable
* src/temporal/filter.c: check parameters, fix filter_do_outplace to really
avoid modifying input
* src/utils/windll.c: add dll main entry point
* General:
- new build system, new code generator
- Python 3 compatibility (#33), thanks to Nils Philippsen (@nphilipp)
- double precision compatibility
- simplify memory allocations, removed unneeded malloc/free calls
- fix memory leak (#49), check input sizes (#63) and output sizes (#60)
- improve indentation, clean up unused imports and variables
- fix comparison to None and to False
* setup.py: move from python/setup.py, add option to build libaubio inside
python-aubio (for instance with pip), add command 'generate' with option
'--enable-double', build with -Wdeclaration-after-statement -Werror
* python/ext/aubiomodule.c: fix PyMethodDef sentinel
* python/ext/aubioproxy.c: factorize input checks into
PyAubio_IsValidVector, fix windows c89 compilation, use npy_intp, not long
* python/ext: rewrite and simplify, safer and improved memory usage (#49),
improve error strings, verify actual object creation
* python/ext/py-source.c: added duration, check seek is not negative
* python/ext/py-musicutils.c: do not overwrite PyArg_ParseTuple messages
* python/lib/gen_code.py: new generator, switch to using custom PyObjects
instead of fvec, cvec, fmat, ready for double precision (defaults to single)
* python/lib/aubio__init__.py: use new aubio.float_type, make sure length is
not zero and float_type is imported
* python/lib/aubio/midiconv.py: fix instance checks, make sure midi2note
uses midi int (#33)
* python/lib/aubio/slicing.py: fix samplerate
* python/ext/aubio-types.h: add new_py_ functions to create PyObjects
instead of fvec_t, apply to generated and hard-coded objects
* python/lib/gen_external.py: improve compiler detection, fixes build on
windows (#55)
* python/lib/moresetuptools.py: helpers for windows and macos compilations
* python/demos/demo_reading_speed.py: new reading speed tests, external
packages disabled by default
* python/demos/demo_timestretch.py: new timescale algorithm
* python/demos/demo_timestretch_online.py: new timescale algorithm (online
version)
* python/demos/demo_create_test_sounds.py: add script to create simple sound
files to test on using sox
* python/demos/demo_a_weighting.py: add simple demo for a_weighting
* python/demos/demo_filter.py: moved from _a_weighting
* python/demos/demo_mfcc.py: use n_coeffs
* python/demos/demo_bpm_extract.py: add exception type, avoid {} as default
argument value
* python/demos/demo_pysoundcard_*: update to pysoundcard 0.5.2 (closes #42)
* python/scripts/aubiocut: fix usage string output
* python/tests/run_all_tests,*.py: switch to nose2, fix most prospect warnings
* python/tests/test_fvec.py: add test_pass_to_numpy, cope with accumulated
errors
* python/tests/test_cvec.py: simplify, add more tests
* python/tests/test_fft.py: more tests, fft.do to clash on wrong size
inputs, f.rdo input size, cvec is large enough, memory tests, avoid
VisibleDeprecationWarning
* python/tests/test_filterbank.py: check for wrong values, ValueError raised
* python/tests/test_filter.py: add tests
* python/tests/test_musicutils.py: simplify, check TypeError is raised
* python/tests/test_mfcc.py: more tests, check for wrong input size (see #63)
* python/tests/test_mathutils: fix test_miditobin test, can also raise
NotImplementedError (darwin)
* python/tests/test_note2midi.py: more tests, use unicode_literals
* python/tests/test_phasevoc.py: add a note about ocasional crash check
perfect reconstruction for overlap > 75% add 50% overlap test, fix duplicate
test name, add wrong sized input tests
* python/tests/test_sink.py: remove useless many_sinks_not_closed and cruft
* python/tests/test_source.py: simplify, quieten, skip tests if no test sounds
* python/tests/test_specdesc.py: check for wrong values, skip wrong name
test, use correct input size (see #63)
* python/tests/utils.py: try reopening the file is deleting it fails on windows
* python/VERSION: removed, use same VERSION file for libaubio and python-aubio
* MANIFEST.in: move from python/, update contents
* nose2.cfg: add minimal config, set multiprocess always-on=false (fixes
coverage, pass -N to speed up the tests)
* examples/*.c: add time format option
* examples/{aubioonset,aubiotrack}.c: also emit midi note, thanks to
@topas-rec (closes #62)
* examples/: use outmsg to print notes (fixes #8)
* examples/aubionotes.c: use new aubio_notes object
* examples/aubiotrack.c: enable -O and -t options, fix is_beat/is_silence
types
* examples/{parse_args,utils}.h: check in config.h if getopt.h was found, or
build without for msvc, more windows hacks
* examples/utils.c: change send_noteon to accept floating point midi note number
* tests/src/io/test-source_apple_audio.c: shorten long line
* tests/src/io/test-source_avcodec.c: use HAVE_LIBAV, closes #10
* tests/src/temporal: avoid crash, clarify
* tests/src/tempo/test-tempo.c: tempo back to only one output
* tests/src/test-delnull.c: improve test, avoid segfaults
* tests/src/test-lvec.c: use AUBIO_LSMP_FMT
* tests/utils_tests.h: add VA_ARGS versions of variadic macros
* tests/utils_tests.h: also use custom srandom/random when compiling with
- std=c99
* tests/utils_tests.h: make sure M_PI and RAND_MAX are defined
* Makefile: set waf to 1.8.22 for now, new targets create_test_sounds,
build_python, test_python, clean_python, build_python3, clean_python3,
test_pure_python, test_pure_python_wheel, (use test_pure_* targets to build
without libaubio), use 'HAVE_DOUBLE=1 make' to build in double precision
* scripts/build_apple_frameworks: add script to build macosx and ios
frameworks (see #34, #43)
* scripts/build_emscripten: add script to build with emcc and co
* scripts/build_mingw: add script to cross-compile using mingw
* scripts/get_waf.sh: added simple script to fetch latest waf
* scripts/setenv_local.sh: set environment to run from built source tree
* scripts/setenv_local.sh: update to new python-aubio build location
* tests/wscript_build: do not install test programs
* tests/wscript_build, src/wscript_build: use 'use =', simplify
* src/wscript_build: enable shared lib on ios, static lib on windows
* wscript:
- update --enable-foo to fail if foo is not found
- add -mmacosx-version-min=10.4 on darwin
- add '-fembed-bitcode' on ios (closes #31), min to 6.1
- make fat build, add option to not build with Accelerate framework
- add option to not build with CoreAudio/AudioToolbox
- add --disable-docs option
- add -lm detection
- pass HAVE_AUBIO_DOUBLE in compiler arguments
- first check for headers, make getopt.h and unistd.h optional
- check HAVE_AV* from ctx.env
- make msvc compiler quieter, add /MD and /D_CRT_SECURE_NO_WARNINGS
- check if we find atlas/cblas.h
- new build platform emscripten
- more cleanups and updates
* src/: remove trailing spaces, improve doxygen strings, update copyrights,
fix typos
* src/onset/onset.h: fix description of get/set_delay functions
* src/spectral/mfcc.h: add link to reference implementation
* src/spectral/filterbank_mel.h: update reference url
* src/musicutils.h: update link to Bernardini's paper, improve doc
* doc/aubiomfcc.txt: add a note about the output
* doc/*.cfg: update to Doxygen 1.8.8
* python/README.md: fix typo (thanks to Sam Alexander), document how to
build in a virtualenv (see #2)
* README.md: minor updates, link to python/README.md, switch to https