# HG changeset patch # User Amine Sehili # Date 1612557848 -3600 # Node ID d83cba0f80726f61a012030c07a32a29fc37830b # Parent fbfdd3e0499985070a304fdcea08a49c0d597a72 Update Readme, add python 3.9 to tests diff -r fbfdd3e04999 -r d83cba0f8072 .travis.yml --- a/.travis.yml Thu Jan 21 22:51:12 2021 +0100 +++ b/.travis.yml Fri Feb 05 21:44:08 2021 +0100 @@ -12,5 +12,6 @@ - "3.6" - "3.7" - "3.8" + - "3.9" script: - python -m unittest discover tests/ diff -r fbfdd3e04999 -r d83cba0f8072 README.rst --- a/README.rst Thu Jan 21 22:51:12 2021 +0100 +++ b/README.rst Fri Feb 05 21:44:08 2021 +0100 @@ -69,13 +69,13 @@ for i, r in enumerate(audio_regions): - # Regions returned by `split` have 'start' and 'end' field metadata + # Regions returned by `split` have 'start' and 'end' metadata fields print("Region {i}: {r.meta.start:.3f}s -- {r.meta.end:.3f}s".format(i=i, r=r)) # play detection # r.play(progress_bar=True) - # detection's metadata can be used with `save` + # region's metadata can also be used with the `save` method # (no need to explicitly specify region's object and `format` arguments) filename = r.save("region_{meta.start:.3f}-{meta.end:.3f}.wav") print("region saved as: {}".format(filename)) @@ -121,7 +121,7 @@ in a rather quiet environment, etc.) the performance can drop as the level of noise increases. Furthermore, the algorithm makes now distinction between speech and other kinds of sounds, so you shouldn't use it for Voice Activity Detection -if your audio data might contain non-speech events. +if your audio data also contain non-speech events. License ------- diff -r fbfdd3e04999 -r d83cba0f8072 setup.py --- a/setup.py Thu Jan 21 22:51:12 2021 +0100 +++ b/setup.py Fri Feb 05 21:44:08 2021 +0100 @@ -32,17 +32,15 @@ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Telecommunications Industry", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "License :: OSI Approved :: MIT", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.2", - "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: Multimedia :: Sound/Audio :: Analysis", "Topic :: Scientific/Engineering :: Information Analysis", ],