analyzeAudio 0.8.0__tar.gz → 0.8.2__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.
Files changed (69) hide show
  1. analyzeaudio-0.8.2/MANIFEST.in +1 -0
  2. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/PKG-INFO +33 -25
  3. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/README.md +10 -3
  4. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_pythonator.py +1 -1
  5. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeTensor.py +2 -4
  6. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/contestsSpectrogram.py +8 -2
  7. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/contestsTensor.py +13 -3
  8. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/ffmpeg.py +3 -2
  9. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio.egg-info/PKG-INFO +33 -25
  10. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio.egg-info/SOURCES.txt +6 -3
  11. analyzeaudio-0.8.2/analyzeAudio.egg-info/requires.txt +24 -0
  12. analyzeaudio-0.8.2/analyzeAudio.egg-info/top_level.txt +1 -0
  13. analyzeaudio-0.8.2/pyproject.toml +336 -0
  14. analyzeaudio-0.8.2/tests/__init__.py +5 -0
  15. analyzeaudio-0.8.2/tests/conftest.py +163 -0
  16. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/tests/dataSamples/SpeakSoftly_BrokenMan60sec/expected.py +5 -0
  17. analyzeaudio-0.8.2/tests/dataSamples/audioFiles.py +40 -0
  18. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/tests/dataSamples/expected.py +21 -32
  19. analyzeaudio-0.8.2/tests/dataSamples/namesRegistered.py +153 -0
  20. analyzeaudio-0.8.2/tests/test_analyze.py +26 -0
  21. analyzeaudio-0.8.2/tests/test_analyzeFilename.py +39 -0
  22. analyzeaudio-0.8.2/tests/test_analyzeSpectrogram.py +28 -0
  23. analyzeaudio-0.8.2/tests/test_analyzeTensor.py +27 -0
  24. analyzeaudio-0.8.2/tests/test_analyzeWaveform.py +26 -0
  25. analyzeaudio-0.8.2/tests/test_contestsSpectrogram.py +24 -0
  26. analyzeaudio-0.8.2/tests/test_contestsTensor.py +82 -0
  27. analyzeaudio-0.8.2/tests/test_contestsTensorSpectrogram.py +26 -0
  28. analyzeaudio-0.8.2/tests/test_misfit.py +23 -0
  29. analyzeaudio-0.8.2/tests/test_registry.py +19 -0
  30. analyzeaudio-0.8.0/analyzeAudio.egg-info/requires.txt +0 -20
  31. analyzeaudio-0.8.0/analyzeAudio.egg-info/top_level.txt +0 -4
  32. analyzeaudio-0.8.0/pyproject.toml +0 -105
  33. analyzeaudio-0.8.0/tests/__init__.py +0 -20
  34. analyzeaudio-0.8.0/tests/_dataBaskets.py +0 -101
  35. analyzeaudio-0.8.0/tests/_theSSOT.py +0 -21
  36. analyzeaudio-0.8.0/tests/conftest.py +0 -208
  37. analyzeaudio-0.8.0/tests/conftestAnnex.py +0 -39
  38. analyzeaudio-0.8.0/tests/test_analyzeFilename.py +0 -237
  39. analyzeaudio-0.8.0/tests/test_analyzeSpectrogram.py +0 -44
  40. analyzeaudio-0.8.0/tests/test_analyzeTensor.py +0 -29
  41. analyzeaudio-0.8.0/tests/test_analyzeWaveform.py +0 -44
  42. analyzeaudio-0.8.0/tests/test_contestsSpectrogram.py +0 -19
  43. analyzeaudio-0.8.0/tests/test_contestsTensor.py +0 -156
  44. analyzeaudio-0.8.0/tests/test_contestsTensorSpectrogram.py +0 -36
  45. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/LICENSE +0 -0
  46. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/__init__.py +0 -0
  47. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/_beDRY.py +0 -0
  48. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/_dataBaskets.py +0 -0
  49. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/_misfit.py +0 -0
  50. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/_theSSOT.py +0 -0
  51. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/_theTypes.py +0 -0
  52. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyze.py +0 -0
  53. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/__init__.py +0 -0
  54. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_aspectralstats.py +0 -0
  55. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_astats.py +0 -0
  56. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_ebur128.py +0 -0
  57. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_streams.py +0 -0
  58. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeFilename/_wideRange.py +0 -0
  59. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeSpectrogram.py +0 -0
  60. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/analyzeWaveform.py +0 -0
  61. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/contestsTensorSpectrogram.py +0 -0
  62. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/metadata.py +0 -0
  63. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/py.typed +0 -0
  64. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio/registry.py +0 -0
  65. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio.egg-info/dependency_links.txt +0 -0
  66. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/analyzeAudio.egg-info/entry_points.txt +0 -0
  67. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/setup.cfg +0 -0
  68. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/tests/dataSamples/SpeakSoftly_BrokenMan60sec/__init__.py +0 -0
  69. {analyzeaudio-0.8.0 → analyzeaudio-0.8.2}/tests/dataSamples/__init__.py +0 -0
@@ -0,0 +1 @@
1
+ recursive-include tests *.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: analyzeAudio
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: Measure one or more aspects of one or more audio files.
5
5
  Author-email: Hunter Hogan <HunterHogan@pm.me>
6
6
  License-Expression: CC-BY-NC-4.0
@@ -22,39 +22,41 @@ Classifier: Natural Language :: English
22
22
  Classifier: Operating System :: OS Independent
23
23
  Classifier: Programming Language :: Python
24
24
  Classifier: Programming Language :: Python :: 3
25
- Classifier: Programming Language :: Python :: 3.10
26
- Classifier: Programming Language :: Python :: 3.11
27
25
  Classifier: Programming Language :: Python :: 3.12
28
26
  Classifier: Programming Language :: Python :: 3.13
29
27
  Classifier: Programming Language :: Python :: 3.14
28
+ Classifier: Programming Language :: Python :: 3.15
30
29
  Classifier: Topic :: Multimedia :: Sound/Audio
31
30
  Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
32
31
  Classifier: Topic :: Multimedia :: Sound/Audio :: Conversion
33
32
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
34
33
  Classifier: Typing :: Typed
35
- Requires-Python: >=3.10
34
+ Requires-Python: >=3.12
36
35
  Description-Content-Type: text/markdown
37
36
  License-File: LICENSE
38
- Requires-Dist: Z0Z_tools>=2.2.1
39
- Requires-Dist: auraloss
40
- Requires-Dist: hunterHearsPy>=1.3.0
41
- Requires-Dist: hunterMakesPy>=0.7.0
42
- Requires-Dist: librosa
43
- Requires-Dist: numpy
44
- Requires-Dist: scipy
45
- Requires-Dist: torch
46
- Requires-Dist: torch_l1_snr
47
- Requires-Dist: torch_log_wmse
48
- Requires-Dist: torchmetrics[audio]
49
- Requires-Dist: tqdm
50
- Provides-Extra: development
51
- Requires-Dist: pytest-cov; extra == "development"
52
- Requires-Dist: scipy-stubs; extra == "development"
53
- Provides-Extra: testing
54
- Requires-Dist: pytest; extra == "testing"
55
- Requires-Dist: pytest-xdist; extra == "testing"
37
+ Requires-Dist: Z0Z_tools>=4.1.2
38
+ Requires-Dist: auraloss>=0.4
39
+ Requires-Dist: gammatone>=1.0.0; python_version >= "3.15"
40
+ Requires-Dist: hunterHearsPy>=1.4.1
41
+ Requires-Dist: hunterMakesPy>=0.10.0
42
+ Requires-Dist: librosa>=0.11
43
+ Requires-Dist: numpy>=2.0
44
+ Requires-Dist: pesq>=0.0.4; python_version >= "3.15"
45
+ Requires-Dist: pystoi>=0.4.0; python_version >= "3.15"
46
+ Requires-Dist: requests>=2.22.0; python_version >= "3.15"
47
+ Requires-Dist: scipy>=1.13
48
+ Requires-Dist: soundfile>=0.14.0
49
+ Requires-Dist: torch>=2.6
50
+ Requires-Dist: torch_l1_snr>=0.1
51
+ Requires-Dist: torch_log_wmse>=1.0.0
52
+ Requires-Dist: torchaudio>=2.6
53
+ Requires-Dist: torchmetrics>=1.6.0; python_version >= "3.15"
54
+ Requires-Dist: torchmetrics[audio]>=1.6.0; python_version < "3.15"
55
+ Requires-Dist: tqdm>=4.66
56
+ Requires-Dist: typing_extensions>=4.10.0
56
57
  Dynamic: license-file
57
58
 
59
+ <!-- path-sync copy -n hunterhogan -->
58
60
  # analyzeAudio
59
61
 
60
62
  Measure one or more aspects of one or more audio files.
@@ -705,9 +707,15 @@ that transformations are consistent and their APIs are uniform.
705
707
  - [sigsep/sigsep-mus-eval](https://github.com/sigsep/sigsep-mus-eval)
706
708
  - [mir-evaluation/mir_eval](https://github.com/mir-evaluation/mir_eval)
707
709
 
710
+ <!-- === DO_NOT_EDIT: path-sync hunterhogan === -->
708
711
  ## My recovery
709
712
 
710
- [![Static Badge](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
711
- [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC3Gx7kz61009NbhpRtPP7tw)](https://www.youtube.com/@HunterHogan)
713
+ [![2011 August: Homeless since](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
714
+ ![License: CC BY-NC 4.0](https://img.shields.io/badge/license-CC%20BY--NC%204.0-blue.svg)
712
715
 
713
- [![CC-BY-NC-4.0](https://raw.githubusercontent.com/hunterhogan/analyzeAudio/refs/heads/main/.github/CC-BY-NC-4.0.png)](https://creativecommons.org/licenses/by-nc/4.0/)
716
+ By law, authors retain their copyrights unless they grant exceptions. The Creative Commons Attribution-NonCommercial 4.0 International Deed outlines how you may use this work.
717
+
718
+ The restriction on commercial use (without a license) limits advantage-taking, unjust enrichment, and exploitation. You would be morally wrong if you were to enrich yourself by using this work while I am denied healthcare, housing, security of property, and the safety of my person.
719
+
720
+ To obtain and retain the right to use this work, you incur the cost of attributing the work to me. Your nominal cost might accrue as a benefit that mitigates my suffering or saves my life.
721
+ <!-- === OK_EDIT: path-sync hunterhogan === -->
@@ -1,3 +1,4 @@
1
+ <!-- path-sync copy -n hunterhogan -->
1
2
  # analyzeAudio
2
3
 
3
4
  Measure one or more aspects of one or more audio files.
@@ -648,9 +649,15 @@ that transformations are consistent and their APIs are uniform.
648
649
  - [sigsep/sigsep-mus-eval](https://github.com/sigsep/sigsep-mus-eval)
649
650
  - [mir-evaluation/mir_eval](https://github.com/mir-evaluation/mir_eval)
650
651
 
652
+ <!-- === DO_NOT_EDIT: path-sync hunterhogan === -->
651
653
  ## My recovery
652
654
 
653
- [![Static Badge](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
654
- [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC3Gx7kz61009NbhpRtPP7tw)](https://www.youtube.com/@HunterHogan)
655
+ [![2011 August: Homeless since](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
656
+ ![License: CC BY-NC 4.0](https://img.shields.io/badge/license-CC%20BY--NC%204.0-blue.svg)
655
657
 
656
- [![CC-BY-NC-4.0](https://raw.githubusercontent.com/hunterhogan/analyzeAudio/refs/heads/main/.github/CC-BY-NC-4.0.png)](https://creativecommons.org/licenses/by-nc/4.0/)
658
+ By law, authors retain their copyrights unless they grant exceptions. The Creative Commons Attribution-NonCommercial 4.0 International Deed outlines how you may use this work.
659
+
660
+ The restriction on commercial use (without a license) limits advantage-taking, unjust enrichment, and exploitation. You would be morally wrong if you were to enrich yourself by using this work while I am denied healthcare, housing, security of property, and the safety of my person.
661
+
662
+ To obtain and retain the right to use this work, you incur the cost of attributing the work to me. Your nominal cost might accrue as a benefit that mitigates my suffering or saves my life.
663
+ <!-- === OK_EDIT: path-sync hunterhogan === -->
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  from collections import defaultdict
6
6
  from functools import partial
7
- from humpy_toolz import dissoc, keymap, merge, valmap
7
+ from humpy_cytoolz import dissoc, keymap, merge, valmap
8
8
  from operator import add
9
9
  from typing import Any, NamedTuple
10
10
  import json
@@ -1,5 +1,4 @@
1
1
  # pyright: reportArgumentType=false
2
- # ty:ignore[invalid-argument-type]
3
2
  # ruff: noqa: D100 D103
4
3
  from __future__ import annotations
5
4
 
@@ -17,9 +16,8 @@ if TYPE_CHECKING:
17
16
  from typing import Any
18
17
 
19
18
  # TODO Requires a lot of memory, and concurrency is causing crashes.
20
- def analyzeDNSMOS(tensorAudio: Tensor, sampleRate: int, **keywordArguments: Any) -> Tensor:
21
- defaults: dict[str, bool] = {'personalized': False}
22
- return deep_noise_suppression_mean_opinion_score(tensorAudio, sampleRate, {**defaults, **keywordArguments})
19
+ def analyzeDNSMOS(tensorAudio: Tensor, sampleRate: int, *, personalized: bool = False, **keywordArguments: Any) -> Tensor:
20
+ return deep_noise_suppression_mean_opinion_score(tensorAudio, sampleRate, personalized=personalized, **keywordArguments)
23
21
 
24
22
  # @registrationAudioAspect('DNSMOS mean')
25
23
  def analyzeDNSMOSMean(tensorAudio: Tensor, sampleRate: int) -> float:
@@ -133,11 +133,17 @@ def analyzeBleedFullMelDB(
133
133
  sys.stderr.write(message + '\n')
134
134
  else:
135
135
  warnings.warn(str(warningMessage.message), warningMessage.category, stacklevel=2)
136
- spectrogramMagnitudeAlfa = librosa.amplitude_to_db(spectrogramMagnitudeAlfa, ref=1.0, top_db=top_db) # pyright: ignore[reportUnknownMemberType]
137
- spectrogramMagnitudeBeta = librosa.amplitude_to_db(spectrogramMagnitudeBeta, ref=1.0, top_db=top_db) # pyright: ignore[reportUnknownMemberType]
136
+ spectrogramMagnitudeAlfa = _decibelsFlooredAtPeak(spectrogramMagnitudeAlfa, top_db)
137
+ spectrogramMagnitudeBeta = _decibelsFlooredAtPeak(spectrogramMagnitudeBeta, top_db)
138
138
 
139
139
  return _bleedFullArrays(spectrogramMagnitudeAlfa, spectrogramMagnitudeBeta)
140
140
 
141
+ def _decibelsFlooredAtPeak(spectrogramMagnitude: SpectrogramMagnitude, top_db: float | None) -> SpectrogramMagnitude:
142
+ spectrogramDecibels: SpectrogramMagnitude = librosa.amplitude_to_db(spectrogramMagnitude, ref=1.0, top_db=None) # pyright: ignore[reportUnknownMemberType]
143
+ if top_db is not None:
144
+ numpy.maximum(spectrogramDecibels, spectrogramDecibels.max() - top_db, out=spectrogramDecibels)
145
+ return spectrogramDecibels
146
+
141
147
  def _bleedFullArrays(spectrogramAlfa: SpectrogramMagnitude, spectrogramBeta: SpectrogramMagnitude) -> BleedFullArray:
142
148
  arrayDifferences = spectrogramBeta - spectrogramAlfa
143
149
 
@@ -32,6 +32,13 @@ def _unsqueezeTo3axes(tensorAudio: Tensor) -> Tensor:
32
32
  tensorAudio = tensorAudio.unsqueeze(0)
33
33
  return tensorAudio
34
34
 
35
+ def _unsqueezeToStemAxes(tensorAudio: Tensor) -> Tensor:
36
+ if tensorAudio.ndim < 2:
37
+ tensorAudio = tensorAudio.unsqueeze(0)
38
+ if tensorAudio.ndim < 3:
39
+ tensorAudio = tensorAudio.unsqueeze(-2)
40
+ return _unsqueezeLT4AxesBy1(tensorAudio)
41
+
35
42
  def _takeMean(tensorLoss: Tensor) -> float:
36
43
  return float(tensorLoss.mean().item())
37
44
 
@@ -119,12 +126,15 @@ def analyzeLogWMSE(
119
126
  [2] Landschoot, C. `crlandsc/torch-log-wmse`.
120
127
  https://github.com/crlandsc/torch-log-wmse
121
128
  """
122
- tensorAudioAlfa, tensorAudioBeta, tensorAudioMixture = map(_unsqueezeTo3axes, [tensorAudioAlfa, tensorAudioBeta, tensorAudioMixture])
129
+ tensorAudioMixture = _unsqueezeTo3axes(tensorAudioMixture)
123
130
 
124
131
  dictionaryParameters: dict[str, Any] = {'return_as_loss': False, **keywordArguments}
125
- aspect = torch_log_wmse.LogWMSE(audio_length=tensorAudioMixture.shape[-1] // sampleRate, sample_rate=sampleRate, **dictionaryParameters)
132
+ LogWMSE: type[torch_log_wmse.LogWMSE] = torch_log_wmse.LogWMSE
133
+ if dictionaryParameters.pop('return_as_loss'):
134
+ LogWMSE = torch_log_wmse.LogWMSELoss
135
+ aspect: torch_log_wmse.LogWMSE = LogWMSE(sample_rate=sampleRate, **dictionaryParameters)
126
136
 
127
- return aspect(tensorAudioMixture, _unsqueezeLT4AxesBy1(tensorAudioBeta), _unsqueezeLT4AxesBy1(tensorAudioAlfa))
137
+ return aspect(tensorAudioMixture, _unsqueezeToStemAxes(tensorAudioBeta), _unsqueezeToStemAxes(tensorAudioAlfa))
128
138
 
129
139
  @registrationAudioContest('analyzeLogWMSE mean')
130
140
  def analyzeLogWMSEMean(
@@ -2,6 +2,7 @@
2
2
  """Install FFmpeg."""
3
3
  from __future__ import annotations
4
4
 
5
+ from itertools import chain
5
6
  from operator import getitem
6
7
  from pathlib import Path
7
8
  import contextlib
@@ -34,7 +35,7 @@ def FFmpegGitHub() -> None:
34
35
  , stderr=subprocess.DEVNULL
35
36
  , text=True
36
37
  )
37
- versionMajor = int(getitem(processFFprobeVersion.stdout.strip().split('.', maxsplit=1), 0))
38
+ versionMajor = int(getitem(processFFprobeVersion.stdout.strip().removeprefix('n').split('.', maxsplit=1), 0))
38
39
 
39
40
  if versionMajor < 7:
40
41
  pathFilename_xz: Path = pathFFmpeg / 'ffmpeg-release.tar.xz'
@@ -42,7 +43,7 @@ def FFmpegGitHub() -> None:
42
43
  with urllib.request.urlopen(url) as responseFFmpegReleaseArchive, pathFilename_xz.open('wb') as writeStreamBinary:
43
44
  shutil.copyfileobj(responseFFmpegReleaseArchive, writeStreamBinary)
44
45
  subprocess.run(['/usr/bin/tar', '-xf', str(pathFilename_xz), '-C', str(pathFFmpeg)], check=True)
45
- pathFFmpegExecutables: Path = next(pathFFmpeg.glob('ffmpeg-*/bin'), next(pathFFmpeg.glob('ffmpeg-*-static')))
46
+ pathFFmpegExecutables: Path = next(chain(pathFFmpeg.glob('ffmpeg-*/bin'), pathFFmpeg.glob('ffmpeg-*-static')))
46
47
  shutil.copy2(pathFFmpegExecutables / 'ffmpeg', pathFFmpeg / 'ffmpeg')
47
48
  shutil.copy2(pathFFmpegExecutables / 'ffprobe', pathFFmpeg / 'ffprobe')
48
49
  (pathFFmpeg / 'ffmpeg').chmod(0o755)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: analyzeAudio
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: Measure one or more aspects of one or more audio files.
5
5
  Author-email: Hunter Hogan <HunterHogan@pm.me>
6
6
  License-Expression: CC-BY-NC-4.0
@@ -22,39 +22,41 @@ Classifier: Natural Language :: English
22
22
  Classifier: Operating System :: OS Independent
23
23
  Classifier: Programming Language :: Python
24
24
  Classifier: Programming Language :: Python :: 3
25
- Classifier: Programming Language :: Python :: 3.10
26
- Classifier: Programming Language :: Python :: 3.11
27
25
  Classifier: Programming Language :: Python :: 3.12
28
26
  Classifier: Programming Language :: Python :: 3.13
29
27
  Classifier: Programming Language :: Python :: 3.14
28
+ Classifier: Programming Language :: Python :: 3.15
30
29
  Classifier: Topic :: Multimedia :: Sound/Audio
31
30
  Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
32
31
  Classifier: Topic :: Multimedia :: Sound/Audio :: Conversion
33
32
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
34
33
  Classifier: Typing :: Typed
35
- Requires-Python: >=3.10
34
+ Requires-Python: >=3.12
36
35
  Description-Content-Type: text/markdown
37
36
  License-File: LICENSE
38
- Requires-Dist: Z0Z_tools>=2.2.1
39
- Requires-Dist: auraloss
40
- Requires-Dist: hunterHearsPy>=1.3.0
41
- Requires-Dist: hunterMakesPy>=0.7.0
42
- Requires-Dist: librosa
43
- Requires-Dist: numpy
44
- Requires-Dist: scipy
45
- Requires-Dist: torch
46
- Requires-Dist: torch_l1_snr
47
- Requires-Dist: torch_log_wmse
48
- Requires-Dist: torchmetrics[audio]
49
- Requires-Dist: tqdm
50
- Provides-Extra: development
51
- Requires-Dist: pytest-cov; extra == "development"
52
- Requires-Dist: scipy-stubs; extra == "development"
53
- Provides-Extra: testing
54
- Requires-Dist: pytest; extra == "testing"
55
- Requires-Dist: pytest-xdist; extra == "testing"
37
+ Requires-Dist: Z0Z_tools>=4.1.2
38
+ Requires-Dist: auraloss>=0.4
39
+ Requires-Dist: gammatone>=1.0.0; python_version >= "3.15"
40
+ Requires-Dist: hunterHearsPy>=1.4.1
41
+ Requires-Dist: hunterMakesPy>=0.10.0
42
+ Requires-Dist: librosa>=0.11
43
+ Requires-Dist: numpy>=2.0
44
+ Requires-Dist: pesq>=0.0.4; python_version >= "3.15"
45
+ Requires-Dist: pystoi>=0.4.0; python_version >= "3.15"
46
+ Requires-Dist: requests>=2.22.0; python_version >= "3.15"
47
+ Requires-Dist: scipy>=1.13
48
+ Requires-Dist: soundfile>=0.14.0
49
+ Requires-Dist: torch>=2.6
50
+ Requires-Dist: torch_l1_snr>=0.1
51
+ Requires-Dist: torch_log_wmse>=1.0.0
52
+ Requires-Dist: torchaudio>=2.6
53
+ Requires-Dist: torchmetrics>=1.6.0; python_version >= "3.15"
54
+ Requires-Dist: torchmetrics[audio]>=1.6.0; python_version < "3.15"
55
+ Requires-Dist: tqdm>=4.66
56
+ Requires-Dist: typing_extensions>=4.10.0
56
57
  Dynamic: license-file
57
58
 
59
+ <!-- path-sync copy -n hunterhogan -->
58
60
  # analyzeAudio
59
61
 
60
62
  Measure one or more aspects of one or more audio files.
@@ -705,9 +707,15 @@ that transformations are consistent and their APIs are uniform.
705
707
  - [sigsep/sigsep-mus-eval](https://github.com/sigsep/sigsep-mus-eval)
706
708
  - [mir-evaluation/mir_eval](https://github.com/mir-evaluation/mir_eval)
707
709
 
710
+ <!-- === DO_NOT_EDIT: path-sync hunterhogan === -->
708
711
  ## My recovery
709
712
 
710
- [![Static Badge](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
711
- [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC3Gx7kz61009NbhpRtPP7tw)](https://www.youtube.com/@HunterHogan)
713
+ [![2011 August: Homeless since](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
714
+ ![License: CC BY-NC 4.0](https://img.shields.io/badge/license-CC%20BY--NC%204.0-blue.svg)
712
715
 
713
- [![CC-BY-NC-4.0](https://raw.githubusercontent.com/hunterhogan/analyzeAudio/refs/heads/main/.github/CC-BY-NC-4.0.png)](https://creativecommons.org/licenses/by-nc/4.0/)
716
+ By law, authors retain their copyrights unless they grant exceptions. The Creative Commons Attribution-NonCommercial 4.0 International Deed outlines how you may use this work.
717
+
718
+ The restriction on commercial use (without a license) limits advantage-taking, unjust enrichment, and exploitation. You would be morally wrong if you were to enrich yourself by using this work while I am denied healthcare, housing, security of property, and the safety of my person.
719
+
720
+ To obtain and retain the right to use this work, you incur the cost of attributing the work to me. Your nominal cost might accrue as a benefit that mitigates my suffering or saves my life.
721
+ <!-- === OK_EDIT: path-sync hunterhogan === -->
@@ -1,4 +1,5 @@
1
1
  LICENSE
2
+ MANIFEST.in
2
3
  README.md
3
4
  pyproject.toml
4
5
  analyzeAudio/__init__.py
@@ -32,10 +33,8 @@ analyzeAudio/analyzeFilename/_pythonator.py
32
33
  analyzeAudio/analyzeFilename/_streams.py
33
34
  analyzeAudio/analyzeFilename/_wideRange.py
34
35
  tests/__init__.py
35
- tests/_dataBaskets.py
36
- tests/_theSSOT.py
37
36
  tests/conftest.py
38
- tests/conftestAnnex.py
37
+ tests/test_analyze.py
39
38
  tests/test_analyzeFilename.py
40
39
  tests/test_analyzeSpectrogram.py
41
40
  tests/test_analyzeTensor.py
@@ -43,7 +42,11 @@ tests/test_analyzeWaveform.py
43
42
  tests/test_contestsSpectrogram.py
44
43
  tests/test_contestsTensor.py
45
44
  tests/test_contestsTensorSpectrogram.py
45
+ tests/test_misfit.py
46
+ tests/test_registry.py
46
47
  tests/dataSamples/__init__.py
48
+ tests/dataSamples/audioFiles.py
47
49
  tests/dataSamples/expected.py
50
+ tests/dataSamples/namesRegistered.py
48
51
  tests/dataSamples/SpeakSoftly_BrokenMan60sec/__init__.py
49
52
  tests/dataSamples/SpeakSoftly_BrokenMan60sec/expected.py
@@ -0,0 +1,24 @@
1
+ Z0Z_tools>=4.1.2
2
+ auraloss>=0.4
3
+ hunterHearsPy>=1.4.1
4
+ hunterMakesPy>=0.10.0
5
+ librosa>=0.11
6
+ numpy>=2.0
7
+ scipy>=1.13
8
+ soundfile>=0.14.0
9
+ torch>=2.6
10
+ torch_l1_snr>=0.1
11
+ torch_log_wmse>=1.0.0
12
+ torchaudio>=2.6
13
+ tqdm>=4.66
14
+ typing_extensions>=4.10.0
15
+
16
+ [:python_version < "3.15"]
17
+ torchmetrics[audio]>=1.6.0
18
+
19
+ [:python_version >= "3.15"]
20
+ gammatone>=1.0.0
21
+ pesq>=0.0.4
22
+ pystoi>=0.4.0
23
+ requests>=2.22.0
24
+ torchmetrics>=1.6.0
@@ -0,0 +1 @@
1
+ analyzeAudio