No project description provided
Project description
audio2numpy
Description
audio2numpy load an audio file and directly ouputs the audio data as a numpy array and its sampling rate. Supports .wav, .aiff via python's standard library, and .mp3 via ffmpeg.
Installation
Using pip:
pip install audio2numpy
Usage
from audio2numpy import open_audio
fp = "./examples/word.mp3" # change to the correct path to your file accordingly
signal, sampling_rate = open_audio(fp)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audio2numpy-0.1.1.tar.gz
(350.3 kB
view hashes)
Built Distribution
Close
Hashes for audio2numpy-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffce5822979d480e21f3d65fbeadd6d7a2d671ea529d409e3a1eb92f2a8568a |
|
MD5 | 3a15c18376b2e595e61744347b6da448 |
|
BLAKE2b-256 | 2704bf34cde7df27f6c86146ad1534feac28e997a1c214243f133b1e3602f122 |