spectrogram: [f, t]
(spectrogram)
| 120 | |
| 121 | |
| 122 | def 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 | |
| 129 | def plot_alignment(alignment, gs): |