/auorange

Audio LPC (linear prediction code) using mel spectorgram, compatible for LPCNet

Primary LanguagePythonMIT LicenseMIT

Auorange: LPC prediction for audios using mel spectrogram

This repo contains codes that calculate linear prediction from mel spectrogram.

Can be used in Text to Speech vocoder like lpcnet or feather wave, etc.

requirements

python3.5 or higher

Run

Run this script to generate examples in wavs

python librosa_predict.py

Results

Original audio is wavs/LJ001-0001.wav, which is the same as wavs/audio.wav.

Librosa Feathre Extractor

Mel spectrogram are extracted using librosa.

Mel spectrogram is mels

Predicted audio, original audio and error between two of them are

audio

TODO:

  • Add More comments
  • Extract audio feature using tensorflow
  • Extract audio feature using pytorch