changeset 376:d83cba0f8072

Update Readme, add python 3.9 to tests
author Amine Sehili <amine.sehili@gmail.com>
date Fri, 05 Feb 2021 21:44:08 +0100
parents fbfdd3e04999
children c6308873f239
files .travis.yml README.rst setup.py
diffstat 3 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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/
--- 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
 -------
--- 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",
     ],