libtfr

fast multitaper conventional and reassignment spectrograms

View the Project on GitHub dmeliza/libtfr

Libtfr is a library for calculating multi-taper conventional and time-frequency reassignment (TFR) spectrograms.

Why use reassignment spectrograms?

Mainly for readability. Compare the conventional windowed spectrogram on the top with the reassignment spectrogram on the bottom.

nilnil

The spectral energy distribution is much sparser in the second image, and it's easier to see the high-frequency trill (the tone that's rapidly modulated up and down) right in the middle of the sound. For some applications, reassignment spectrograms can provide much more precise measurements.

It's important to note that no signal processing tricks can do away with the fundamental tradeoff in time-frequency resolution. In the images above, the trill gets close enough to the lower-frequency tonal component that the two start to smear together. Spectral resolution can only be increased by increasing the size of the analysis window, which reduces temporal resolution.

Why use libtfr?