sound_lib 0.8.7__py3-none-any.whl
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/__init__.py +26 -0
- sound_lib/channel.py +691 -0
- sound_lib/config.py +72 -0
- sound_lib/effects/__init__.py +2 -0
- sound_lib/effects/bass.py +58 -0
- sound_lib/effects/bass_fx.py +22 -0
- sound_lib/effects/effect.py +103 -0
- sound_lib/effects/tempo.py +111 -0
- sound_lib/encoder.py +237 -0
- sound_lib/external/__init__.py +10 -0
- sound_lib/external/paths.py +9 -0
- sound_lib/external/pybass.py +1129 -0
- sound_lib/external/pybass_aac.py +53 -0
- sound_lib/external/pybass_alac.py +24 -0
- sound_lib/external/pybass_fx.py +383 -0
- sound_lib/external/pybassenc.py +169 -0
- sound_lib/external/pybassflac.py +41 -0
- sound_lib/external/pybassmidi.py +205 -0
- sound_lib/external/pybassmix.py +116 -0
- sound_lib/external/pybassopus.py +31 -0
- sound_lib/external/pybasswasapi.py +154 -0
- sound_lib/external/pybasswma.py +149 -0
- sound_lib/external/pytags.py +48 -0
- sound_lib/input.py +184 -0
- sound_lib/lib/x64/bass.dll +0 -0
- sound_lib/lib/x64/bass_aac.dll +0 -0
- sound_lib/lib/x64/bass_alac.dll +0 -0
- sound_lib/lib/x64/bass_fx.dll +0 -0
- sound_lib/lib/x64/bassalac.dll +0 -0
- sound_lib/lib/x64/bassenc.dll +0 -0
- sound_lib/lib/x64/bassflac.dll +0 -0
- sound_lib/lib/x64/bassmidi.dll +0 -0
- sound_lib/lib/x64/bassmix.dll +0 -0
- sound_lib/lib/x64/bassopus.dll +0 -0
- sound_lib/lib/x64/basswasapi.dll +0 -0
- sound_lib/lib/x64/basswma.dll +0 -0
- sound_lib/lib/x64/libbass.dylib +0 -0
- sound_lib/lib/x64/libbass.so +0 -0
- sound_lib/lib/x64/libbass_aac.so +0 -0
- sound_lib/lib/x64/libbass_alac.so +0 -0
- sound_lib/lib/x64/libbass_fx.dylib +0 -0
- sound_lib/lib/x64/libbass_fx.so +0 -0
- sound_lib/lib/x64/libbassalac.so +0 -0
- sound_lib/lib/x64/libbassenc.dylib +0 -0
- sound_lib/lib/x64/libbassenc.so +0 -0
- sound_lib/lib/x64/libbassflac.dylib +0 -0
- sound_lib/lib/x64/libbassflac.so +0 -0
- sound_lib/lib/x64/libbassmidi.dylib +0 -0
- sound_lib/lib/x64/libbassmidi.so +0 -0
- sound_lib/lib/x64/libbassmix.dylib +0 -0
- sound_lib/lib/x64/libbassmix.so +0 -0
- sound_lib/lib/x64/libbassopus.dylib +0 -0
- sound_lib/lib/x64/libbassopus.so +0 -0
- sound_lib/lib/x64/libtags.dylib +0 -0
- sound_lib/lib/x64/libtags.so +0 -0
- sound_lib/lib/x64/tags.dll +0 -0
- sound_lib/lib/x86/bass.dll +0 -0
- sound_lib/lib/x86/bass_aac.dll +0 -0
- sound_lib/lib/x86/bass_alac.dll +0 -0
- sound_lib/lib/x86/bass_fx.dll +0 -0
- sound_lib/lib/x86/bassalac.dll +0 -0
- sound_lib/lib/x86/bassenc.dll +0 -0
- sound_lib/lib/x86/bassflac.dll +0 -0
- sound_lib/lib/x86/bassmidi.dll +0 -0
- sound_lib/lib/x86/bassmix.dll +0 -0
- sound_lib/lib/x86/bassopus.dll +0 -0
- sound_lib/lib/x86/basswasapi.dll +0 -0
- sound_lib/lib/x86/basswma.dll +0 -0
- sound_lib/lib/x86/libbass.dylib +0 -0
- sound_lib/lib/x86/libbass.so +0 -0
- sound_lib/lib/x86/libbass_aac.dylib +0 -0
- sound_lib/lib/x86/libbass_aac.so +0 -0
- sound_lib/lib/x86/libbass_alac.so +0 -0
- sound_lib/lib/x86/libbass_fx.dylib +0 -0
- sound_lib/lib/x86/libbass_fx.so +0 -0
- sound_lib/lib/x86/libbassalac.so +0 -0
- sound_lib/lib/x86/libbassenc.dylib +0 -0
- sound_lib/lib/x86/libbassenc.so +0 -0
- sound_lib/lib/x86/libbassflac.dylib +0 -0
- sound_lib/lib/x86/libbassflac.so +0 -0
- sound_lib/lib/x86/libbassmidi.dylib +0 -0
- sound_lib/lib/x86/libbassmidi.so +0 -0
- sound_lib/lib/x86/libbassmix.dylib +0 -0
- sound_lib/lib/x86/libbassmix.so +0 -0
- sound_lib/lib/x86/libbassopus.dylib +0 -0
- sound_lib/lib/x86/libbassopus.so +0 -0
- sound_lib/lib/x86/libtags.dylib +0 -0
- sound_lib/lib/x86/libtags.so +0 -0
- sound_lib/lib/x86/tags.dll +0 -0
- sound_lib/listener.py +200 -0
- sound_lib/main.py +136 -0
- sound_lib/music.py +19 -0
- sound_lib/output.py +332 -0
- sound_lib/recording.py +63 -0
- sound_lib/stream.py +194 -0
- sound_lib-0.8.7.dist-info/METADATA +44 -0
- sound_lib-0.8.7.dist-info/RECORD +100 -0
- sound_lib-0.8.7.dist-info/WHEEL +5 -0
- sound_lib-0.8.7.dist-info/licenses/LICENSE +19 -0
- sound_lib-0.8.7.dist-info/top_level.txt +1 -0
sound_lib/__init__.py
ADDED
|
@@ -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)]
|