sound_lib 0.8.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sound_lib-0.8.7/LICENSE +19 -0
- sound_lib-0.8.7/MANIFEST.in +5 -0
- sound_lib-0.8.7/PKG-INFO +44 -0
- sound_lib-0.8.7/pyproject.toml +43 -0
- sound_lib-0.8.7/setup.cfg +7 -0
- sound_lib-0.8.7/sound_lib/__init__.py +26 -0
- sound_lib-0.8.7/sound_lib/channel.py +691 -0
- sound_lib-0.8.7/sound_lib/config.py +72 -0
- sound_lib-0.8.7/sound_lib/effects/__init__.py +2 -0
- sound_lib-0.8.7/sound_lib/effects/bass.py +58 -0
- sound_lib-0.8.7/sound_lib/effects/bass_fx.py +22 -0
- sound_lib-0.8.7/sound_lib/effects/effect.py +103 -0
- sound_lib-0.8.7/sound_lib/effects/tempo.py +111 -0
- sound_lib-0.8.7/sound_lib/encoder.py +237 -0
- sound_lib-0.8.7/sound_lib/external/__init__.py +10 -0
- sound_lib-0.8.7/sound_lib/external/paths.py +9 -0
- sound_lib-0.8.7/sound_lib/external/pybass.py +1129 -0
- sound_lib-0.8.7/sound_lib/external/pybass_aac.py +53 -0
- sound_lib-0.8.7/sound_lib/external/pybass_alac.py +24 -0
- sound_lib-0.8.7/sound_lib/external/pybass_fx.py +383 -0
- sound_lib-0.8.7/sound_lib/external/pybassenc.py +169 -0
- sound_lib-0.8.7/sound_lib/external/pybassflac.py +41 -0
- sound_lib-0.8.7/sound_lib/external/pybassmidi.py +205 -0
- sound_lib-0.8.7/sound_lib/external/pybassmix.py +116 -0
- sound_lib-0.8.7/sound_lib/external/pybassopus.py +31 -0
- sound_lib-0.8.7/sound_lib/external/pybasswasapi.py +154 -0
- sound_lib-0.8.7/sound_lib/external/pybasswma.py +149 -0
- sound_lib-0.8.7/sound_lib/external/pytags.py +48 -0
- sound_lib-0.8.7/sound_lib/input.py +184 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bass.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bass_aac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bass_alac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bass_fx.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassalac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassenc.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassflac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassmidi.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassmix.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/bassopus.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/basswasapi.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/basswma.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass_aac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass_alac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass_fx.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbass_fx.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassalac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassenc.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassenc.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassflac.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassflac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassmidi.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassmidi.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassmix.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassmix.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassopus.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libbassopus.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libtags.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/libtags.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x64/tags.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bass.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bass_aac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bass_alac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bass_fx.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassalac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassenc.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassflac.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassmidi.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassmix.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/bassopus.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/basswasapi.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/basswma.dll +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass_aac.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass_aac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass_alac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass_fx.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbass_fx.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassalac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassenc.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassenc.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassflac.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassflac.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassmidi.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassmidi.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassmix.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassmix.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassopus.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libbassopus.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libtags.dylib +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/libtags.so +0 -0
- sound_lib-0.8.7/sound_lib/lib/x86/tags.dll +0 -0
- sound_lib-0.8.7/sound_lib/listener.py +200 -0
- sound_lib-0.8.7/sound_lib/main.py +136 -0
- sound_lib-0.8.7/sound_lib/music.py +19 -0
- sound_lib-0.8.7/sound_lib/output.py +332 -0
- sound_lib-0.8.7/sound_lib/recording.py +63 -0
- sound_lib-0.8.7/sound_lib/stream.py +194 -0
- sound_lib-0.8.7/sound_lib.egg-info/PKG-INFO +44 -0
- sound_lib-0.8.7/sound_lib.egg-info/SOURCES.txt +104 -0
- sound_lib-0.8.7/sound_lib.egg-info/dependency_links.txt +1 -0
- sound_lib-0.8.7/sound_lib.egg-info/requires.txt +2 -0
- sound_lib-0.8.7/sound_lib.egg-info/top_level.txt +1 -0
sound_lib-0.8.7/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright (c) 2010-2022 Christopher Toth
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
sound_lib-0.8.7/PKG-INFO
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sound_lib
|
|
3
|
+
Version: 0.8.7
|
|
4
|
+
Summary: Pythonic wrapper to the Bass sound library and various add-ons
|
|
5
|
+
Author-email: Christopher Toth <q@q-continuum.net>
|
|
6
|
+
License: Copyright (c) 2010-2022 Christopher Toth
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
SOFTWARE.
|
|
25
|
+
|
|
26
|
+
Project-URL: Homepage, https://github.com/q-continuum/sound_lib
|
|
27
|
+
Project-URL: Issues, https://github.com/q-continuum/sound_lib/issues
|
|
28
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
29
|
+
Classifier: Intended Audience :: Developers
|
|
30
|
+
Classifier: Programming Language :: Python :: 3
|
|
31
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
32
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
34
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
39
|
+
Requires-Python: >=3.7
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
License-File: LICENSE
|
|
42
|
+
Requires-Dist: libloader
|
|
43
|
+
Requires-Dist: platform_utils==1.5.7
|
|
44
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "sound_lib"
|
|
7
|
+
version = "0.8.7"
|
|
8
|
+
description = "Pythonic wrapper to the Bass sound library and various add-ons"
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Christopher Toth", email = "q@q-continuum.net"}
|
|
11
|
+
]
|
|
12
|
+
license = {file = "LICENSE"}
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
requires-python = ">=3.7"
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 5 - Production/Stable",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.7",
|
|
20
|
+
"Programming Language :: Python :: 3.8",
|
|
21
|
+
"Programming Language :: Python :: 3.9",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"License :: OSI Approved :: MIT License",
|
|
26
|
+
"Topic :: Software Development :: Libraries",
|
|
27
|
+
]
|
|
28
|
+
dependencies = [
|
|
29
|
+
"libloader",
|
|
30
|
+
"platform_utils==1.5.7",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://github.com/q-continuum/sound_lib"
|
|
35
|
+
Issues = "https://github.com/q-continuum/sound_lib/issues"
|
|
36
|
+
|
|
37
|
+
[tool.setuptools.packages.find]
|
|
38
|
+
where = ["."]
|
|
39
|
+
include = ["sound_lib*"]
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.package-data]
|
|
42
|
+
sound_lib = ["lib/x86/*", "lib/x64/*"]
|
|
43
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
__author__ = "Christopher Toth"
|
|
2
|
+
__version__ = "0.8.5"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def find_datafiles():
|
|
6
|
+
""" """
|
|
7
|
+
from glob import glob
|
|
8
|
+
import os
|
|
9
|
+
import platform
|
|
10
|
+
import sound_lib
|
|
11
|
+
|
|
12
|
+
path = os.path.join(sound_lib.__path__[0], "lib")
|
|
13
|
+
system = platform.system()
|
|
14
|
+
if system == "Windows":
|
|
15
|
+
file_ext = "*.dll"
|
|
16
|
+
elif system == "Darwin":
|
|
17
|
+
file_ext = "*.dylib"
|
|
18
|
+
else:
|
|
19
|
+
file_ext = "*.so"
|
|
20
|
+
if platform.architecture()[0] == "32bit" or platform.system() == "Darwin":
|
|
21
|
+
arch = "x86"
|
|
22
|
+
else:
|
|
23
|
+
arch = "x64"
|
|
24
|
+
dest_dir = os.path.join("sound_lib", "lib", arch)
|
|
25
|
+
source = glob(os.path.join(path, arch, file_ext))
|
|
26
|
+
return [(dest_dir, source)]
|