Audio Optimizer
A Python library for optimizing audio processing parameters using differential evolution. This library is particularly useful for improving audio processing pipelines by fine-tuning parameters of noise reduction techniques.
Features
- Automatically optimize audio processing parameters with Differential Evolution.
- Seamlessly integrates with the
noisereducelibrary for noise reduction. - Handles audio file loading, processing, and evaluation with librosa.
- Computes Mean Squared Error (MSE) as the optimization loss function.
- Easily customizable bounds for optimization parameters.
Usage
from audio_optimizer.core import optimize_parameters
Input audio paths
input_audio_path = "input_audio.wav" target_audio_path = "target_audio.wav"
Optimize parameters
best_params, loss = optimize_parameters(input_audio_path, target_audio_path, epochs=50, popsize=15)
print("Best Parameters:", best_params) print("Final Loss:", loss)
Installation
Install the library using pip:
pip install audio-optimizer
Metadata
Release files for nnaudio-GovGPT 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nnaudio_GovGPT-0.1.0.tar.gz | 2.6 kB | Without provenance | Details for nnaudio_GovGPT-0.1.0.tar.gz |
Release files / nnaudio_GovGPT-0.1.0.tar.gz
| Download URL | nnaudio_GovGPT-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
326711137053f0bb8b05e7e04d0f11ad873b292ea00f0a7f89de0f63eb12f465
|
|
BLAKE2b-256 checksum How to use checksums |
54c3652ef71dc216a1cd05a797d6525c98b7417ecdb6533e9926dcb34147d331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.0
|
Security for nnaudio-GovGPT 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.