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.
Files changed (100) hide show
  1. sound_lib/__init__.py +26 -0
  2. sound_lib/channel.py +691 -0
  3. sound_lib/config.py +72 -0
  4. sound_lib/effects/__init__.py +2 -0
  5. sound_lib/effects/bass.py +58 -0
  6. sound_lib/effects/bass_fx.py +22 -0
  7. sound_lib/effects/effect.py +103 -0
  8. sound_lib/effects/tempo.py +111 -0
  9. sound_lib/encoder.py +237 -0
  10. sound_lib/external/__init__.py +10 -0
  11. sound_lib/external/paths.py +9 -0
  12. sound_lib/external/pybass.py +1129 -0
  13. sound_lib/external/pybass_aac.py +53 -0
  14. sound_lib/external/pybass_alac.py +24 -0
  15. sound_lib/external/pybass_fx.py +383 -0
  16. sound_lib/external/pybassenc.py +169 -0
  17. sound_lib/external/pybassflac.py +41 -0
  18. sound_lib/external/pybassmidi.py +205 -0
  19. sound_lib/external/pybassmix.py +116 -0
  20. sound_lib/external/pybassopus.py +31 -0
  21. sound_lib/external/pybasswasapi.py +154 -0
  22. sound_lib/external/pybasswma.py +149 -0
  23. sound_lib/external/pytags.py +48 -0
  24. sound_lib/input.py +184 -0
  25. sound_lib/lib/x64/bass.dll +0 -0
  26. sound_lib/lib/x64/bass_aac.dll +0 -0
  27. sound_lib/lib/x64/bass_alac.dll +0 -0
  28. sound_lib/lib/x64/bass_fx.dll +0 -0
  29. sound_lib/lib/x64/bassalac.dll +0 -0
  30. sound_lib/lib/x64/bassenc.dll +0 -0
  31. sound_lib/lib/x64/bassflac.dll +0 -0
  32. sound_lib/lib/x64/bassmidi.dll +0 -0
  33. sound_lib/lib/x64/bassmix.dll +0 -0
  34. sound_lib/lib/x64/bassopus.dll +0 -0
  35. sound_lib/lib/x64/basswasapi.dll +0 -0
  36. sound_lib/lib/x64/basswma.dll +0 -0
  37. sound_lib/lib/x64/libbass.dylib +0 -0
  38. sound_lib/lib/x64/libbass.so +0 -0
  39. sound_lib/lib/x64/libbass_aac.so +0 -0
  40. sound_lib/lib/x64/libbass_alac.so +0 -0
  41. sound_lib/lib/x64/libbass_fx.dylib +0 -0
  42. sound_lib/lib/x64/libbass_fx.so +0 -0
  43. sound_lib/lib/x64/libbassalac.so +0 -0
  44. sound_lib/lib/x64/libbassenc.dylib +0 -0
  45. sound_lib/lib/x64/libbassenc.so +0 -0
  46. sound_lib/lib/x64/libbassflac.dylib +0 -0
  47. sound_lib/lib/x64/libbassflac.so +0 -0
  48. sound_lib/lib/x64/libbassmidi.dylib +0 -0
  49. sound_lib/lib/x64/libbassmidi.so +0 -0
  50. sound_lib/lib/x64/libbassmix.dylib +0 -0
  51. sound_lib/lib/x64/libbassmix.so +0 -0
  52. sound_lib/lib/x64/libbassopus.dylib +0 -0
  53. sound_lib/lib/x64/libbassopus.so +0 -0
  54. sound_lib/lib/x64/libtags.dylib +0 -0
  55. sound_lib/lib/x64/libtags.so +0 -0
  56. sound_lib/lib/x64/tags.dll +0 -0
  57. sound_lib/lib/x86/bass.dll +0 -0
  58. sound_lib/lib/x86/bass_aac.dll +0 -0
  59. sound_lib/lib/x86/bass_alac.dll +0 -0
  60. sound_lib/lib/x86/bass_fx.dll +0 -0
  61. sound_lib/lib/x86/bassalac.dll +0 -0
  62. sound_lib/lib/x86/bassenc.dll +0 -0
  63. sound_lib/lib/x86/bassflac.dll +0 -0
  64. sound_lib/lib/x86/bassmidi.dll +0 -0
  65. sound_lib/lib/x86/bassmix.dll +0 -0
  66. sound_lib/lib/x86/bassopus.dll +0 -0
  67. sound_lib/lib/x86/basswasapi.dll +0 -0
  68. sound_lib/lib/x86/basswma.dll +0 -0
  69. sound_lib/lib/x86/libbass.dylib +0 -0
  70. sound_lib/lib/x86/libbass.so +0 -0
  71. sound_lib/lib/x86/libbass_aac.dylib +0 -0
  72. sound_lib/lib/x86/libbass_aac.so +0 -0
  73. sound_lib/lib/x86/libbass_alac.so +0 -0
  74. sound_lib/lib/x86/libbass_fx.dylib +0 -0
  75. sound_lib/lib/x86/libbass_fx.so +0 -0
  76. sound_lib/lib/x86/libbassalac.so +0 -0
  77. sound_lib/lib/x86/libbassenc.dylib +0 -0
  78. sound_lib/lib/x86/libbassenc.so +0 -0
  79. sound_lib/lib/x86/libbassflac.dylib +0 -0
  80. sound_lib/lib/x86/libbassflac.so +0 -0
  81. sound_lib/lib/x86/libbassmidi.dylib +0 -0
  82. sound_lib/lib/x86/libbassmidi.so +0 -0
  83. sound_lib/lib/x86/libbassmix.dylib +0 -0
  84. sound_lib/lib/x86/libbassmix.so +0 -0
  85. sound_lib/lib/x86/libbassopus.dylib +0 -0
  86. sound_lib/lib/x86/libbassopus.so +0 -0
  87. sound_lib/lib/x86/libtags.dylib +0 -0
  88. sound_lib/lib/x86/libtags.so +0 -0
  89. sound_lib/lib/x86/tags.dll +0 -0
  90. sound_lib/listener.py +200 -0
  91. sound_lib/main.py +136 -0
  92. sound_lib/music.py +19 -0
  93. sound_lib/output.py +332 -0
  94. sound_lib/recording.py +63 -0
  95. sound_lib/stream.py +194 -0
  96. sound_lib-0.8.7.dist-info/METADATA +44 -0
  97. sound_lib-0.8.7.dist-info/RECORD +100 -0
  98. sound_lib-0.8.7.dist-info/WHEEL +5 -0
  99. sound_lib-0.8.7.dist-info/licenses/LICENSE +19 -0
  100. 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)]