MCPcopy
hub / github.com/Kyubyong/tacotron / invert_spectrogram

Function invert_spectrogram

utils.py:122–126  ·  view source on GitHub ↗

spectrogram: [f, t]

(spectrogram)

Source from the content-addressed store, hash-verified

120
121
122def invert_spectrogram(spectrogram):
123 '''
124 spectrogram: [f, t]
125 '''
126 return librosa.istft(spectrogram, hp.hop_length, win_length=hp.win_length, window="hann")
127
128
129def plot_alignment(alignment, gs):

Callers 1

griffin_limFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected