analyzeAudio 0.0.11__py3-none-any.whl → 0.0.13__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.
- analyzeAudio/__init__.py +5 -5
- analyzeAudio/analyzersUseFilename.py +149 -145
- analyzeAudio/analyzersUseSpectrogram.py +14 -12
- analyzeAudio/analyzersUseTensor.py +4 -4
- analyzeAudio/analyzersUseWaveform.py +11 -10
- analyzeAudio/audioAspectsRegistry.py +166 -167
- analyzeAudio/pythonator.py +113 -77
- analyzeaudio-0.0.13.dist-info/LICENSE +407 -0
- analyzeaudio-0.0.13.dist-info/METADATA +181 -0
- analyzeaudio-0.0.13.dist-info/RECORD +16 -0
- {analyzeAudio-0.0.11.dist-info → analyzeaudio-0.0.13.dist-info}/WHEEL +1 -1
- analyzeaudio-0.0.13.dist-info/entry_points.txt +2 -0
- tests/test_audioAspectsRegistry.py +0 -1
- tests/test_other.py +7 -10
- analyzeAudio-0.0.11.dist-info/METADATA +0 -108
- analyzeAudio-0.0.11.dist-info/RECORD +0 -14
- {analyzeAudio-0.0.11.dist-info → analyzeaudio-0.0.13.dist-info}/top_level.txt +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: analyzeAudio
|
|
3
|
-
Version: 0.0.11
|
|
4
|
-
Summary: Measure one or more aspects of one or more audio files.
|
|
5
|
-
Author-email: Hunter Hogan <HunterHogan@pm.me>
|
|
6
|
-
License: CC-BY-NC-4.0
|
|
7
|
-
Project-URL: Homepage, https://github.com/hunterhogan/analyzeAudio
|
|
8
|
-
Project-URL: Donate, https://www.patreon.com/integrated
|
|
9
|
-
Keywords: audio,analysis,measurement,metrics,torch
|
|
10
|
-
Classifier: Development Status :: 4 - Beta
|
|
11
|
-
Classifier: Environment :: Console
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
-
Classifier: Intended Audience :: Other Audience
|
|
15
|
-
Classifier: Natural Language :: English
|
|
16
|
-
Classifier: Operating System :: OS Independent
|
|
17
|
-
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
|
|
19
|
-
Classifier: Typing :: Typed
|
|
20
|
-
Requires-Python: >=3.10
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: cachetools
|
|
23
|
-
Requires-Dist: librosa
|
|
24
|
-
Requires-Dist: numpy
|
|
25
|
-
Requires-Dist: torch
|
|
26
|
-
Requires-Dist: torchmetrics[audio]
|
|
27
|
-
Requires-Dist: tqdm
|
|
28
|
-
Requires-Dist: Z0Z-tools
|
|
29
|
-
Provides-Extra: testing
|
|
30
|
-
Requires-Dist: pytest; extra == "testing"
|
|
31
|
-
Requires-Dist: pytest-cov; extra == "testing"
|
|
32
|
-
Requires-Dist: pytest-env; extra == "testing"
|
|
33
|
-
|
|
34
|
-
# analyzeAudio
|
|
35
|
-
|
|
36
|
-
Measure one or more aspects of one or more audio files.
|
|
37
|
-
|
|
38
|
-
## Note well: FFmpeg & FFprobe binaries must be in PATH
|
|
39
|
-
|
|
40
|
-
Some options to [download FFmpeg and FFprobe](https://www.ffmpeg.org/download.html) at ffmpeg.org.
|
|
41
|
-
|
|
42
|
-
## Some ways to use this package
|
|
43
|
-
|
|
44
|
-
### Use `analyzeAudioFile` to measure one or more aspects of a single audio file
|
|
45
|
-
|
|
46
|
-
```python
|
|
47
|
-
from analyzeAudio import analyzeAudioFile
|
|
48
|
-
listAspectNames = ['LUFS integrated',
|
|
49
|
-
'RMS peak',
|
|
50
|
-
'SRMR mean',
|
|
51
|
-
'Spectral Flatness mean']
|
|
52
|
-
listMeasurements = analyzeAudioFile(pathFilename, listAspectNames)
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Use `getListAvailableAudioAspects` to get a crude list of aspects this package can measure
|
|
56
|
-
|
|
57
|
-
The aspect names are accurate, but the lack of additional documentation can make things challenging. 'Zero-crossing rate', 'Zero-crossing rate mean', and 'Zero-crossings rate', for example, are different from each other. ("... lack of additional documentation ...")
|
|
58
|
-
|
|
59
|
-
```python
|
|
60
|
-
import analyzeAudio
|
|
61
|
-
analyzeAudio.getListAvailableAudioAspects()
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Use `analyzeAudioListPathFilenames` to measure one or more aspects of individual file in a list of audio files
|
|
65
|
-
|
|
66
|
-
### Use `audioAspects` to call an analyzer function by using the name of the aspect you wish to measure
|
|
67
|
-
|
|
68
|
-
```python
|
|
69
|
-
from analyzeAudio import audioAspects
|
|
70
|
-
SI_SDR_channelsMean = audioAspects['SI-SDR mean']['analyzer'](pathFilenameAudioFile, pathFilenameDifferentAudioFile)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Retrieve the names of the parameters for an analyzer function with the `['analyzerParameters']` key-name.
|
|
74
|
-
|
|
75
|
-
```python
|
|
76
|
-
from analyzeAudio import audioAspects
|
|
77
|
-
print(audioAspects['Chromagram']['analyzerParameters'])
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Install this package
|
|
81
|
-
|
|
82
|
-
### From Github
|
|
83
|
-
|
|
84
|
-
```sh
|
|
85
|
-
pip install analyzeAudio@git+https://github.com/hunterhogan/analyzeAudio.git
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### From a local directory
|
|
89
|
-
|
|
90
|
-
#### Windows
|
|
91
|
-
|
|
92
|
-
```powershell
|
|
93
|
-
git clone https://github.com/hunterhogan/analyzeAudio.git \path\to\analyzeAudio
|
|
94
|
-
pip install analyzeAudio@file:\path\to\analyzeAudio
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
#### POSIX
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
git clone https://github.com/hunterhogan/analyzeAudio.git /path/to/analyzeAudio
|
|
101
|
-
pip install analyzeAudio@file:/path/to/analyzeAudio
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## Install updates
|
|
105
|
-
|
|
106
|
-
```sh
|
|
107
|
-
pip install --upgrade analyzeAudio@git+https://github.com/hunterhogan/analyzeAudio.git
|
|
108
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
analyzeAudio/__init__.py,sha256=WT2LnWdO-7r8ARjS9fVqjedu-TwUDj-gStQMJouplc4,452
|
|
2
|
-
analyzeAudio/analyzersUseFilename.py,sha256=RMoIKlLzHZW-ks-J-CxgrpD8IgifTl2B514VeW0J2W4,11316
|
|
3
|
-
analyzeAudio/analyzersUseSpectrogram.py,sha256=bY06q3iacB0ciyjAlfde6rxLRXCvrg7CY3Yp-elv9b4,1623
|
|
4
|
-
analyzeAudio/analyzersUseTensor.py,sha256=n5jOwtam5pDErYp_Ja_VGVR_Q4c0MS3KPLIQnaRfDgs,572
|
|
5
|
-
analyzeAudio/analyzersUseWaveform.py,sha256=4HCWb8LCqZAeXGxkBOpfViXDv3ffFQiTtTyIpLoVZ24,1381
|
|
6
|
-
analyzeAudio/audioAspectsRegistry.py,sha256=abIbrXRqDfx8DRE9HKSv7qQPfUzxU8IhLbB6n5JJAuU,9365
|
|
7
|
-
analyzeAudio/pythonator.py,sha256=jTsQapE537hP_Wav16EsvETdwsw7FzDhQnbX6tISC8g,4835
|
|
8
|
-
tests/conftest.py,sha256=BhZswOjkl_u-qiS4Zy38d2fETdWAtZiigeuXYBK8l0k,397
|
|
9
|
-
tests/test_audioAspectsRegistry.py,sha256=bZb6TQQwRedaCKzH5hqPpJkn7cHl_cHpj4OHtPonawo,28
|
|
10
|
-
tests/test_other.py,sha256=mJxNqTjs5U_qdmNIVN599h3XzoDtRMvM8koE9-wI664,549
|
|
11
|
-
analyzeAudio-0.0.11.dist-info/METADATA,sha256=VEDc6M2hh2eNHAJJVJWME3dYpuDaGZ9GoaRiIrttrdY,3462
|
|
12
|
-
analyzeAudio-0.0.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
13
|
-
analyzeAudio-0.0.11.dist-info/top_level.txt,sha256=QV8LQ0r_1LIQuewxDcEzODpykv5qRYG3I70piOUSVRg,19
|
|
14
|
-
analyzeAudio-0.0.11.dist-info/RECORD,,
|
|
File without changes
|