Skip to main content

No project description provided

Project description

RWave

PyPi MIT License

A utility that handle audio for Python.

Usage

Simple Example

import rwave
# Load audio file
wave, fs = rwave.read_wave('wave file path')

# Write audio file
# (wave file path, wave data, fs)
rwave.write_wave('wave file path', wave, 16000)

# Nomalize wave data
rwave.nomalize(wave)
# => audio data normalized to 0~1

# Convert sampling rate (16000->8000)
wave, fs = rwave.convert_fs(wave, 16000, 8000)

# Convert audio length (->5.0s)
wave, fs = rwave.convert_fs(wave, 16000, 5.0)

# Convert to MFCC
mfcc = rwave.to_mfcc('wave file path', 16000)

Installation

$ pip install rwave

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/AjxLab/RWave.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rwave-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file rwave-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rwave-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for rwave-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd9d731153166d881ab16e260e4a837ebef1e426d136bf691666da2fdf5c7f5
MD5 7a0e9f6bc844936d3ee1702b8950f196
BLAKE2b-256 a832056683fb0d8574ed2ebf3a588dd20f8c31523377b6162c680ea04296797e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page