Skip to main content

A simplified interface for pydub audio manipulation

Project description

ezpydub

A simplified interface for pydub, making audio manipulation easier for Python 3.10+.

Installation

pip install ezpydub

Requires ffmpeg installed on your system:

  • Windows: Install via Chocolatey (choco install ffmpeg) or download from FFmpeg website.
  • macOS: brew install ffmpeg
  • Linux: sudo apt-get install ffmpeg (Ubuntu) or equivalent.

Usage

from ezpydub import EzPyDub

# Load an audio file
audio = EzPyDub("input.wav")

# Trim to 2-5 seconds
audio.trim(2000, 5000)

# Increase volume by 3 dB
audio.adjust_volume(3.0)

# Concatenate with another audio
other = EzPyDub("other.wav")
audio.concatenate(other)

# Export to MP3
audio.export("output.mp3")

Features

  • Load audio files (WAV, MP3, etc.)
  • Trim audio by milliseconds
  • Concatenate multiple audio files
  • Adjust volume in decibels
  • Export to various formats
  • Get audio duration in seconds

Requirements

  • Python 3.10 or newer
  • pydub
  • ffmpeg-python

License

Unlicense license

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

ezpydub-0.2.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezpydub-0.2.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ezpydub-0.2.0.tar.gz.

File metadata

  • Download URL: ezpydub-0.2.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for ezpydub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ede0997b98177f88e4b091eb68ca1cd7920b2dde9b64a0244e99af4c88070433
MD5 bf0bead113c6c7ac94ef6b608f2f321e
BLAKE2b-256 64b2975bfcd5bd88da9a30b7319bd04b9ef55469d3deec81f0e5bdbe727aa276

See more details on using hashes here.

File details

Details for the file ezpydub-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ezpydub-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for ezpydub-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a8d42932461c3da63a173a921bd8d487c39c2b2130761d98a5b0a68f6f5dc21
MD5 c5cef76bdc5642dde7f238c83b8e7ab1
BLAKE2b-256 84a1a57d2beadd3ca2c4bf8336bc0e28e4ec20b43b47b9f3106e6d969c6cf3fc

See more details on using hashes here.

Supported by

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