Skip to main content

Audio normalization for Python

Project description

Python versions Build Status PyPI Version

Command line utility for audio normalization

It saves the metadata of the original files. Currently supported formats : WAV, FLAC, MP3, OGG, WEBM and MP4.

Usage

  • Either select multiple files to normalize : pynormalize -f audio1.mp3 /dir/audio2.flac

  • or edit all the audio files in current directory : pynormalize -a

you can also import pynormalize:

import pynormalize

Files = ['audio.wav']
target_dbfs = -13.5

pynormalize.process_files(
    Audio=Files,
    target_dbfs=target_dbfs,
)

Installation

Clone it

>> git clone https://github.com/giannisterzopoulos/pynormalize.git
>> cd pynormalize
>> pip install .

or install from PyPI : pip install pynormalize

Requirements

FFmpeg is required for opening and saving non-wav files. Get it from here and put it in the
pynormalize directory (where pynormalize.py is stored) or in your system PATH variable.
Pynormalize supports Python 3.4-3.6

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

pynormalize-0.1.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

pynormalize-0.1.4-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 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