←back to thread

How the cochlea computes (2024)

(www.dissonances.blog)
475 points izhak | 1 comments | | HN request time: 0s | source
Show context
tryauuum ◴[] No.45762674[source]
man I need to finally learn what a Fourier transform is
replies(7): >>45762759 #>>45762780 #>>45762781 #>>45762805 #>>45762824 #>>45763744 #>>45765427 #
adzm ◴[] No.45762805[source]
the very simplest way to describe it: it is what turns a waveform (amplitude x time) to a spectrogram like on a stereo (amplitude x frequency)
replies(1): >>45762847 #
Chabsff ◴[] No.45762847[source]
And phase. People always forget about the phase as if it was purely imaginary.
replies(1): >>45763533 #
JKCalhoun ◴[] No.45763533[source]
Ha ha, as I understand it, phase is imaginary in a Fourier transform. Complex numbers are used and the imaginary portion does indeed represent phase.

I have been told that reversing the process — creating a time-based waveform — will not resemble (visually) the original due to this phase loss in the round-tripping. But then our brain never paid phase any mind so it will sound the same to our ears. (Yay, MP3!)

replies(2): >>45763887 #>>45764495 #
1. xeonmc ◴[] No.45764495{3}[source]
Actually, by the Kramers-Kronig relation you can infer the imaginary part just from the real parts, if given that your time signal is causal. So the phase isn’t actually lost in any way at all, if you assume causality.

Also, pedantic nit: phase would be the imaginary exponent of the spectrum rather than the imaginary part directly, i.e, you take the logarithm of the complex amplitude to get log-magnitude (real) plus phase (imag)