TORIma Academy Logo TORIma Academy
Spectrogram
Arts

Spectrogram

TORIma Academy — Acoustic

Spectrogram

Spectrogram

A spectrogram is a visual representation of the spectrum of frequencies of a signal as it varies with time. When applied to an audio signal, spectrograms are…

A spectrogram constitutes a visual depiction of a signal's frequency spectrum as it evolves over time. When applied to audio signals, these representations are alternatively termed sonographs, voiceprints, or voicegrams. In instances where data are presented in a three-dimensional plot, they may be referred to as waterfall displays.

Spectrograms find widespread application across diverse disciplines, including music, linguistics, sonar, radar, speech processing, seismology, and ornithology. In the context of audio analysis, spectrograms facilitate the phonetic identification of spoken words and enable the detailed examination of animal vocalizations.

Spectrograms can be generated through several methods: utilizing an optical spectrometer, employing a bank of band-pass filters, or by applying either a Fourier transform or a wavelet transform. When derived from a wavelet transform, the representation is also known as a scaleogram or scalogram.

Typically, a spectrogram is rendered as a heat map, which is an image where intensity variations are conveyed through differences in color or brightness.

Format

A prevalent format involves a two-dimensional graph where one axis denotes time and the other signifies frequency. A third dimension, representing the amplitude of a specific frequency at a given time, is illustrated by the intensity or color of individual points within the image.

Numerous format variations exist; for instance, the vertical and horizontal axes may be interchanged, causing time to progress vertically. Alternatively, a waterfall plot may be employed, where amplitude is depicted by the height of a three-dimensional surface rather than by color or intensity. Both frequency and amplitude axes can be configured as either linear or logarithmic, contingent upon the specific analytical objective. For audio representations, a logarithmic amplitude axis (typically in decibels, or dB) is common, while the frequency axis might be linear to highlight harmonic relationships or logarithmic to accentuate musical and tonal characteristics.

Generation

Spectrograms pertaining to light can be directly produced over time through the application of an optical spectrometer.

Spectrograms can be derived from a time-domain signal via two primary approaches: approximation as a filterbank, which involves a series of band-pass filters (historically the sole method prior to modern digital signal processing), or computation from the time signal using the Fourier transform. While these two methodologies yield distinct time-frequency representations, they exhibit equivalence under specific conditions.

The band-pass filter method typically employs analog processing to segment the input signal into various frequency bands. The output magnitude from each filter subsequently governs a transducer, which then records the spectrogram as an image on a physical medium, such as paper.

The creation of a spectrogram using the Fast Fourier Transform (FFT) constitutes a digital procedure. Initially, time-domain digital samples are segmented into often-overlapping chunks, which are then Fourier transformed to ascertain the magnitude of the frequency spectrum for each segment. Subsequently, each segment corresponds to a vertical line within the spectrogram image, representing a magnitude-versus-frequency measurement at a specific temporal point (the midpoint of the segment). These individual spectrums or time plots are then juxtaposed or slightly overlapped, often through windowing techniques, to construct the final image or a three-dimensional surface. Fundamentally, this process involves calculating the squared magnitude of the short-time Fourier transform (STFT) of the signal s ( t ) {\displaystyle s(t)} . Specifically, for a given window width ω {\displaystyle \omega } , the spectrogram is defined as s p e c t r o g r a m ( t , ω ) = | S T F T ( t , ω ) | §109110§ {\displaystyle \mathrm {spectrogram} (t,\omega )\left|\mathrm {STFT} (t,\omega )\right|^{2}} .

Limitations and Resynthesis

Based on the aforementioned formula, a spectrogram seemingly lacks information regarding the precise, or even approximate, phase of the signal it depicts. Consequently, reversing this process to reconstruct an exact replica of the original signal from a spectrogram is generally infeasible. However, in contexts where the precise initial phase is not critical, a functional approximation of the original signal might be achievable. The Analysis & Resynthesis Sound Spectrograph exemplifies a computational tool designed for this purpose. An early speech synthesizer, known as the pattern playback, was developed at Haskins Laboratories in the late 1940s to convert visual representations of speech acoustic patterns (spectrograms) back into audible sound.

Nevertheless, spectrograms do contain certain phase information, which manifests as time delay (or group delay), representing the dual of instantaneous frequency.

The dimensions and configuration of the analysis window are adjustable. A smaller, shorter window yields greater accuracy in temporal resolution but compromises the precision of frequency representation. Conversely, a larger, longer window offers enhanced frequency precision at the cost of temporal accuracy. This trade-off illustrates the Heisenberg uncertainty principle, which states that the product of precision for two conjugate variables must be greater than or equal to a constant, typically expressed as B*T>=1.

Applications

References

References

Çavkanî: Arşîva TORÎma Akademî

About this article

What is Spectrogram?

A short guide to Spectrogram, its main features, uses and related topics.

Topic tags

What is Spectrogram Spectrogram guide Spectrogram explained Spectrogram basics Art articles Art in Kurdish

Common searches on this topic

  • What is Spectrogram?
  • What is Spectrogram used for?
  • Why is Spectrogram important?
  • Which topics are related to Spectrogram?

Category archive

Torima Akademi Neverok Archive: Art

Dive into a rich collection of art articles covering a vast spectrum of creative expression. Explore global art movements, from abstract expressionism to academic art, alongside the unique heritage of Kurdish art. Our

Home Back to Arts