Metadata-Version: 2.1
Name: paud
Version: 0.1
Summary: Python library to process audio
Home-page: https://github.com/ASVIEST/paud
License: GPL-3.0-or-later
Author: ASVIEST
Author-email: 71895914+ASVIEST@users.noreply.github.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Project-URL: Repository, https://github.com/ASVIEST/paud
Description-Content-Type: text/markdown

# paud
Python library to process audio



open audio

```python
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

```python
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()
```


