Skip to main content

Python library to process audio

Project description

paud

Python library to process audio

open audio

from paud import Audio

au = Audio.open('audio.wav') #file or path

print(f'audio duration = {au.duration}')

au.play() #play audio

au[:100].play() #play first 100 frames of audio

open audio from URL

import requests
from paud import Audio
from io import BytesIO

r = requests.get('https://file-examples-com.github.io/uploads/2017/11/file_example_WAV_10MG.wav')

au = Audio.open(BytesIO(r.content))
au.play()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

paud-0.1.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

paud-0.1-py3-none-any.whl (17.5 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