Sound & Pitch: To Spectrogram...

A command that creates a Spectrogram object from the selected Sound and Pitch objects by band filtering in the frequency domain with a bank of filters whose bandwidths depend on the local pitch.

The filter functions used are:

H(f, f0) = 1 / (((fc2 - f2) /f·B(f0)))2 + 1),

where fc is the central (resonance) frequency of the filter. B(f0) is the bandwidth in Hz and determined as

B(f0) = relativeBandwidth·f0,

where f0 is the fundamental frequency as determined from the Pitch object. Whenever the value of f0 is undefined, a value of 100 Hz is taken.

Links to this page

© djmw, October 8, 2019