Skip to main content

No project description provided

Project description

audio2numpy

Build Status

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


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)

Uploaded Source

Built Distribution

audio2numpy-0.1.1-py3-none-any.whl (9.6 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