Changeset f91d4ac
- Timestamp:
- Jan 8, 2017, 6:11:41 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
- Children:
- 59d037e
- Parents:
- cd8dc52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rcd8dc52 rf91d4ac 1 2017-01-08 Paul Brossier <piem@aubio.org> 2 3 [ Overview ] 4 5 * VERSION: bump to 0.4.4 6 * src/utils/log.h: new function to redirect log, error, and warnings 7 * python/: AUBIO_ERR raises python exception, AUBIO_WRN to emit py warning 8 * doc/: add some documentation, fix errors in manpages 9 * wscript: new rules to build 'manpages', 'doxygen', and 'sphinx', new 10 --build-type=<release|debug> option (thanks to Eduard Mueller) 11 * src/notes/notes.h: add minioi and silence methods 12 * examples/: add --minioi (minimum inter-onset interval) option 13 * src/pitch/pitchyin.c: improve msvc compiler optimisations (thanks to 14 Eduard Mueller) 15 * python/, src/: improve error messages, fix minor memory leaks 16 * src/io/source_avcodec.c: improve compatibility with latest ffmpeg and with 17 older libav/ffmpeg versions 18 * python/demos/: new demos to capture microphone in real time 19 20 [ Interface] 21 22 * src/aubio.h: include utils/log.h 23 * src/utils/log.h: add new aubio_log_set_function to redirect log messages 24 * src/notes/notes.h: add aubio_notes_{get,set}_minioi_ms, add 25 _{get,set}_silence methods 26 27 [ Library ] 28 29 * src/aubio_priv.h: add AUBIO_INF to print to stdout with header, use new 30 logging function, add ATAN alias, add stdarg.h, move #include "config.h" 31 * src/{fmat,fvec}.c: avoid integer division 32 * src/pitch/pitchyin.c: [msvc] help compiler to optimize aubio_pitchyin_do 33 by giving it addresses for all arrays which are referenced in inner loops, 34 thanks to Eduard Mueller. 35 * src/pitch/pitch.c: declare internal functions as static, fail on wrong 36 method, warn on wrong unit, improve error messages, fix error string 37 * src/spectral/specdesc.c: return NULL if wrong mode asked, remove trailing 38 spaces 39 * src/onset/onset.c: return null and clean-up if new_aubio_specdesc failed, 40 fix error message 41 * src/notes/notes.c: use midi note to store pitch candidate, round to 42 nearest note, add a variable to define precision, fix out-of-bound write, 43 fix unset silence_threshold, fix error message 44 * src/spectral/ooura_fft8g.c: add cast to avoid conversion warnings, prefix 45 public function with aubio_ooura_ to avoid with other apps using ooura (e.g. 46 puredata), make internal functions static, 47 * src/spectral/fft.c: add message about fftw3 being able to do non-power of 48 two sizes, make calls to fftw_destroy_plan thread-safe, use prefixed 49 aubio_ooura_rdft 50 * src/spectral/phasevoc.c: fix error string 51 * src/temporal/resampler.c: throw an error when using libsamplerate with doubles 52 * src/io/ioutils.h: add functions to check samplerate and channels, use in sink_*.c 53 * src/io/source.c: add error message when aubio was compiled with no source, 54 only show error message from last child source_ 55 * src/io/source_avcodec.c: call avformat_free_context after 56 avformat_close_input, keep a reference to packet to remove it when closing 57 file, avoid deprecation warnings with ffmpeg 3.2, add backward compatibility 58 for libavcodec55, fix for old libavcodec54, use AV_SAMPLE_FMT_DBL when 59 compiling with HAVE_AUBIO_DOUBLE, fix missing samples in eof block, avoid 60 function calls before declarations, improve error messages, replace with new 61 context before closing old one, make sure s->path is set to null 62 * src/io/{source_wavread,sink_wavwrite}.c: declare internal functions as static 63 * src/io/source_wavread.c: fix bytes_read for JUNK headers, improve error 64 messages, initialize buffer, skip chunks until data is found, or abort, skip 65 junk chunk 66 * src/io/source_sndfile.c: add support for multi-channel resampling, set 67 handle to null after sucessful close, add missing floor in ratio comparison, 68 improve formatting 69 * src/io/sink.c: only show error message from last child sink_ 70 * src/io/sink_apple_audio.c: avoid crash on empty file name 71 * src/io/sink_sndfile.c: improve error message 72 * src/io/sink_{sndfile,wavwrite}.c: use AUBIO_MAX_CHANNELS, fix error message 73 74 [ Documentation ] 75 76 * README.md: update copyright dates, use https 77 * src/aubio.h: add some links to examples, use https 78 * src/pitch/pitch.h: add aubio_pitch_get_tolerance, add basic description of 79 unit modes 80 * src/notes/notes.h: add doxygen header 81 * src/spectral/fft.h: strip example path 82 * doc/*.rst: improve sphinx documentation 83 * doc/android.rst: add reference to it scripts/build_android 84 * doc/debian_packages.rst: added page on debian packages 85 * doc/python_module.rst: add demo_source_simple.py, add note on pip, add 86 `print(aubio.version)` 87 * doc/cli.rst: include command line manpages 88 * doc/cli_features.rst: add matrix of command line features 89 * doc/requirements.rst: add a note about --notests (closes #77), document 90 --msvc options, improve description of options 91 * doc/download.rst: added page on download 92 * doc/installing.rst: update 93 * doc/xcode_frameworks.rst: added page on xcode frameworks 94 * doc/**: use https://aubio.org 95 * doc/conf.py: use pyramid theme, update copyright, remove hardcoded path 96 * doc/web.cfg: exclude ioutils from doc 97 * doc/aubionotes.txt: document -M option (see #18), 98 * doc/aubioonset.txt: add documentation for -M, --minioi, improve threshold 99 description (thanks to Peter Parker), fix typo (onset, not pitch) 100 * doc/aubio*.txt: document -T/--timeformat option 101 102 [ Build ] 103 104 * Makefile: add a brief intro, avoid offline operations, add html and dist 105 targets, add rules for documentation, simplify listing, avoid offline 106 operations, bump waf to 1.9.6, check for waf before clean, chmod go-w 107 waflib, improve clean, use pip to install, factorise pip options, generate 108 more test sounds, improve test_python and test_pure_python, pass build_ext 109 in test_pure_python{,_wheel}, quieten uninstall_python if already 110 uninstalled, improve test targets, use bdist_wheel in test_pure_python, 111 build_ext only for --enable-double, verbose waf rules, add cleanwaf 112 * wscript: added debug/release build type configurations release (default) 113 enables optimizations, debug symbols are enabled in both configurations, 114 thanks to Eduard Mueller. 115 * wscript: add options to disable source_wavread/sink_wavwrite, add check 116 for stdarg.h, new rules 'manpages', 'sphinx', and 'doxygen' to build 117 documentation, add version to sphinx and manpages, disable libsamplerate 118 if double precision enabled (libsamplerate only supports float), fix typos, 119 remove trailing spaces, improve tarball creation (./waf dist), remove 120 full.cfg from tarball, prepend to CFLAGS to honor user cflags 121 * wscript, src/wscript_build: improve install locations using DATAROOTDIR, 122 MANDIR, INCLUDEDIR 123 * wscript: default to no atlas for now 124 * src/wscript_build: always build static library 125 * scripts/build_android: add an example script to build aubio on android, 126 127 [ Tools ] 128 129 * examples/aubionotes.c: use new notes, set minioi, send last note off when 130 needed, add warning for missing options 131 * examples/aubioonset.c: add minioi option, in seconds 132 * examples/: only send a last note off when using jack 133 * examples/: return 1 if object creation failed 134 * examples/: use PROG_HAS_OUTPUT, add PROG_HAS_SILENCE 135 136 [ Tests ] 137 138 * tests/src/spectral/test-fft.c: fix default size 139 * tests/src/spectral/test-phasevoc.c: fix typos 140 * tests/src/utils/test-log.c: add AUBIO_INF, add example for 141 aubio_log_set_function, improve messages 142 143 [ Python ] 144 145 * python/ext/aubiomodule.c: add aubio._aubio.__version__ and import it as 146 aubio.version, use custom logging function for errors and warnings, remove 147 duplicated add_generated_objects, use <> for non local aubio 148 * python/ext/py-cvec.c: use NPY_INTP_FMT 149 * python/ext/py-fft.c: use error string set in src/spectral/fft.c 150 * python/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c 151 * python/ext/py-sink.c: always set samplerate and channels in init 152 * python/ext/py-source.c: use error string set in src/io/source.c 153 * python/lib/aubio/midiconv.py: add unicode double sharp and double flat, 154 improve unicode handling, skip UnicodeEncodeError on python 2.x 155 156 [ Python build ] 157 158 * MANIFEST.in: add src/**.c, exclude full.cfg, include waflib, remove 159 python/ext/config.h 160 * setup.py: define AUBIO_VERSION use sorted glob.glob to improve 161 reproducibility, remove extra quotes, remove status from version string, 162 update description, use custom build_ext instead of 'generate' command, 163 define HAVE_AUBIO_DOUBLE to 1 if needed 164 * python/lib/gen_code.py: add support for multiple _do outputs, fix number 165 of output, improve del_ function, safer DECREF, fix indentation, emit RuntimeError 166 * python/lib/gen_external.py: clean-up, enable tss, remove duplicate, 167 sort generated files 168 * python/lib/moresetuptools.py: add HAVE_STDARG_H, also check for 169 HAVE_AUBIO_DOUBLE, cleaner clean, look first for system library, then for 170 local build, then local sources, mo nore fake config.h here, use 171 samplerate in single precision only 172 * python/README.md: add a note about nose2 for python tests (closes #74) 173 * scripts/setenv_local.sh: python3 compat 174 175 [ Python demos ] 176 177 * python/demos/demo_alsa.py: add example using alsaaudio (closes #72) 178 * python/demos/demo_mfcc.py: add options to plot first and second 179 derivatives, and set samplerate/win_s/hop_s, thanks to @jhoelzl (closes #68) 180 * python/demos/demo_notes.py: add simple notes demos 181 * python/demos/demo_pyaudio.py: added simple demo for pyaudio, see #6, 182 closes #78, thanks to @jhoelzl and @notalentgeek, add some comments, avoid 183 overwriting aubio.pitch 184 * python/demos/demo_source_simple.py: fix indentation, make executable 185 * python/demos/demo_timestretch{,_online}.py: fix usage string, remove 186 unused import, use // to yield an integer (closes #71) 187 * python/demos/demo_timestretch_online.py: use 512, fix block counter 188 * python/demos/demo_tss.py: improve default parameters, exit before plotting 189 190 [ Python tests ] 191 192 * python/tests/: use local import, add __init__.py 193 * python/tests/test_cvec.py: simplify 194 * python/tests/test_fft.py: skip test fft(zeros).phas == 0 if needed, expected powerpc 195 * python/tests/test_fvec.py: reduce alpha norm precision to 10.-4 196 * python/tests/test_{midi2note,note2midi}.py: use nose2.params, add unicode tests 197 * python/tests/test_notes.py: add basic tests 198 * python/tests/test_notes.py: test results are correct for 44100Hz_44100f_sine441.wav 199 * python/tests/test_sink.py: add more tests, quiet warnings 200 * python/tests/test_source.py: break long line, check the tail of the file 201 is non-zero on non silent test files, filter user warnings to avoid spamming 202 the console, only check if last frames are non silent on brownnoise (weak), 203 remove fragile brownnoise test, check duration on short files, use nose2 204 params to process one sound file per test 205 * python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode 206 * python/tests/utils.py: by default, use 5 seconds brownoise 207 208 [ Only in git ] 209 210 * .travis.yml: add debian dpkg-buildflags config, switch from precise to 211 trusty, sudo required, add ffmpeg on osx, add targets ios, iosimulator, 212 and osx noopt configs, bump to xcode8, add xcode8.2 config, mimick 213 build_apple_frameworks options, alway upgrade pip, add pip --version and 214 which pip after upgrading, remove --user, use expandwaf in install, remove 215 unused ARCH, shuffle order, remove duplicate, add missing opening quote, 216 use AUBIO_NOTESTS to build only lib on ios, add gitter webhook 217 * .appveyor.yml: fix path for windows+python 3.5, fix typo in path, make 218 nose2 tests verbose 219 1 220 2016-08-16 Paul Brossier <piem@aubio.org> 2 221
Note: See TracChangeset
for help on using the changeset viewer.