3
$\begingroup$

the griffin lim algorithm works to reconstruct audio from a magnitude spectrogram, but i don't understand how reusing the same spectrogram every iteration with noise can produce decent sound

How from the random phase is ordered to be heard well?

$\endgroup$

1 Answer 1

2
$\begingroup$

Sound is just the combination of multiple sin waves at different frequencies and phases. These phases determine how those sin waves combine together, i.e. if frequencies are resonant or eliminate each other. A shift in phase could change the magnitude of certain frequencies. Taking advantage of this property, the Griffin-Lim algorithm tries to iteratively optimize the spectrogram phases so that the reconstructed magnitude is as close as possible to the original magnitude. Hope this could answer your question.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.