Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert log Mel bank energy to audio by your model #263

Open
zuujhyt opened this issue Apr 11, 2022 · 0 comments
Open

Convert log Mel bank energy to audio by your model #263

zuujhyt opened this issue Apr 11, 2022 · 0 comments

Comments

@zuujhyt
Copy link

zuujhyt commented Apr 11, 2022

Hi,
I use a toolbox from python_speech_features import logfbank to get log mel energy from wav file, can I convert the feature back to speech b waveform bby your model?
If yes, could you please guide?
Thank you.

from python_speech_features import logfbank
from scipy.io import wavfile
sample_rate, wav_data = wavfile.read('test.wav')
audio_feats = logfbank(wav_data, samplerate=sample_rate).astype(np.float32)
##
# How to convert audio_feats back to wavform?
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant