No project description provided
Project description
RWave
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
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 Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
rwave-0.1.2-py3-none-any.whl
(4.1 kB
view hashes)