diff --git a/README.md b/README.md index b9269f9..90c99f2 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ it is not supported, please submit an issue! and Dolby Atmos `dbmd` metadata for re-renders and mixdowns. * Wave embedded [cue markers][cues], cue marker labels, notes and timed ranges as used by Zoom, iZotope RX, etc. +* Wave embedded [sampler][smpl] and sample loop metadata. * The [wav format][format] is also parsed, so you can access the basic sample rate and channel count information. @@ -38,6 +39,7 @@ it is not supported, please submit an issue! [format]:https://wavinfo.readthedocs.io/en/latest/classes.html#wavinfo.wave_reader.WavAudioFormat [cues]:https://wavinfo.readthedocs.io/en/latest/scopes/cue.html [bext]:https://wavinfo.readthedocs.io/en/latest/scopes/bext.html +[smpl]:https://wavinfo.readthedocs.io/en/latest/scopes/smpl.html [smpte_330m2011]:https://wavinfo.readthedocs.io/en/latest/scopes/bext.html#wavinfo.wave_bext_reader.WavBextReader.umid [adm]:https://wavinfo.readthedocs.io/en/latest/scopes/adm.html [ebu3285s6]:https://wavinfo.readthedocs.io/en/latest/scopes/dolby.html diff --git a/docs/source/conf.py b/docs/source/conf.py index 083c8fe..f540b15 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,24 +12,25 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # +import importlib import os import sys sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath("../../..")) print(sys.path) -import wavinfo +import importlib # -- Project information ----------------------------------------------------- project = u'wavinfo' -copyright = u'2018-2023, Jamie Hardt' +copyright = u'2018-2024, Jamie Hardt' author = u'Jamie Hardt' # The short X.Y version -version = wavinfo.__short_version__ +version = "3.1" # The full version, including alpha/beta/rc tags -release = wavinfo.__version__ +release = importlib.metadata.version("wavinfo") # -- General configuration --------------------------------------------------- diff --git a/docs/source/references.rst b/docs/source/references.rst index 4006cb2..0825069 100644 --- a/docs/source/references.rst +++ b/docs/source/references.rst @@ -39,7 +39,7 @@ iXML Sampler Metadata ---------------- -* `RecordingBlogs.com — Sample chunk (of a Wave file)`_ +* `RecordingBlogs.com — Sample chunk (of a Wave file) `_ RIFF Metadata ------------- diff --git a/docs/source/scopes/smpl.rst b/docs/source/scopes/smpl.rst new file mode 100644 index 0000000..bd533c7 --- /dev/null +++ b/docs/source/scopes/smpl.rst @@ -0,0 +1,14 @@ + +Sampler Metadata +================= + +Class Reference +--------------- + +.. automodule:: wavinfo.wave_smpl_reader + +.. autoclass:: wavinfo.wave_smpl_reader.WavSmplReader + :members: + +.. autoclass:: wavinfo.wave_smpl_reader.WaveSmplLoop + :members: diff --git a/pyproject.toml b/pyproject.toml index 19e7eda..511e7ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "wavinfo" -version = "3.0.1" +version = "3.1.0" description = "Probe WAVE files for all metadata" authors = ["Jamie Hardt "] license = "MIT"