Skip to main content

Domain-specific generation of test inputs for robustness testing of ML models

Project description

insynth


CI/CD Codacy Badge Bugs Lines of Code Maintainability Rating Security Rating codecov FOSSA Status Documentation Status

Testing Audio Perturbators

from insynth.perturbators.audio import AudioShortNoisePerturbator
import librosa
from scipy.io.wavfile import write
perturbator = ...
signal, sr=librosa.load(file_name, sr=None)
result = perturbator.apply((signal, sr))
write("output.wav", sr, result)

License

FOSSA Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

insynth-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

insynth-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page