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.

Files for rwave, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size rwave-0.1.2-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page