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 details)

Uploaded Source

Built Distribution

audio2numpy-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file audio2numpy-0.1.1.tar.gz.

File metadata

  • Download URL: audio2numpy-0.1.1.tar.gz
  • Upload date:
  • Size: 350.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

File hashes

Hashes for audio2numpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cdb1b0c2a3ee34995701c94b8f892d144a01987c34aff8cde6b94883a98dea62
MD5 7cd020f6ea1d8ece886d7883864f9f98
BLAKE2b-256 9945d8e61aa2c145c8202224d271dfabf576ed4e7cc43f79cb603c428d1156b4

See more details on using hashes here.

File details

Details for the file audio2numpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: audio2numpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

File hashes

Hashes for audio2numpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cffce5822979d480e21f3d65fbeadd6d7a2d671ea529d409e3a1eb92f2a8568a
MD5 3a15c18376b2e595e61744347b6da448
BLAKE2b-256 2704bf34cde7df27f6c86146ad1534feac28e997a1c214243f133b1e3602f122

See more details on using hashes here.

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