Spectrogram showing shared partials.png
   HOME

TheInfoList



OR:

A spectrogram is a visual representation of the
spectrum A spectrum (plural ''spectra'' or ''spectrums'') is a condition that is not limited to a specific set of values but can vary, without gaps, across a continuum. The word was first used scientifically in optics to describe the rainbow of colors ...
of frequencies of a signal as it varies with time. When applied to an audio signal, spectrograms are sometimes called sonographs, voiceprints, or voicegrams. When the data are represented in a 3D plot they may be called ''
waterfall display Waterfall plots are often used to show how two-dimensional phenomena change over time. A three-dimensional ''spectral waterfall plot'' is a plot in which multiple curves of data, typically spectra, are displayed simultaneously. Typically the cu ...
s''. Spectrograms are used extensively in the fields of
music Music is generally defined as the art of arranging sound to create some combination of form, harmony, melody, rhythm or otherwise expressive content. Exact definitions of music vary considerably around the world, though it is an aspe ...
,
linguistics Linguistics is the science, scientific study of human language. It is called a scientific study because it entails a comprehensive, systematic, objective, and precise analysis of all aspects of language, particularly its nature and structure ...
, sonar, radar, speech processing, seismology, and others. Spectrograms of audio can be used to identify spoken words phonetics, phonetically, and to analyse the Animal communication, various calls of animals. A spectrogram can be generated by an optical spectrometer, a bank of band-pass filters, by Fourier transform or by a wavelet transform (in which case it is also known as a scaleogram or scalogram). A spectrogram is usually depicted as a heat map, i.e., as an image with the intensity shown by varying the colour or brightness.


Format

A common format is a graph with two geometric dimensions: one axis represents time, and the other axis represents frequency; a third dimension indicating the amplitude of a particular frequency at a particular time is represented by the Brightness, intensity or color of each point in the image. There are many variations of format: sometimes the vertical and horizontal axes are switched, so time runs up and down; sometimes as a waterfall plot where the amplitude is represented by height of a 3D surface instead of color or intensity. The frequency and amplitude axes can be either linear or logarithmic, depending on what the graph is being used for. Audio would usually be represented with a logarithmic amplitude axis (probably in decibels, or dB), and frequency would be linear to emphasize harmonic relationships, or logarithmic to emphasize musical, tonal relationships.


Generation

Spectrograms of light may be created directly using an optical spectrometer over time. Spectrograms may be created from a time-domain signal in one of two ways: approximated as a filterbank that results from a series of band-pass filters (this was the only way before the advent of modern digital signal processing), or calculated from the time signal using the Fourier transform. These two methods actually form two different time–frequency representations, but are equivalent under some conditions. The bandpass filters method usually uses analog signal, analog processing to divide the input signal into frequency bands; the magnitude of each filter's output controls a transducer that records the spectrogram as an image on paper. Creating a spectrogram using the FFT is a Digital signal processing, digital process. Digitally sampling (signal processing), sampled data, in the Time series, time domain, is broken up into chunks, which usually overlap, and Fourier transformed to calculate the magnitude of the frequency spectrum for each chunk. Each chunk then corresponds to a vertical line in the image; a measurement of magnitude versus frequency for a specific moment in time (the midpoint of the chunk). These spectrums or time plots are then "laid side by side" to form the image or a three-dimensional surface, or slightly overlapped in various ways, i.e. Window function#Overlapping windows, windowing. This process essentially corresponds to computing the squared magnitude (mathematics), magnitude of the short-time Fourier transform (STFT) of the signal s(t) — that is, for a window width \omega, \mathrm(t,\omega)=\left, \mathrm(t,\omega)\^2.


Limitations and resynthesis

From the formula above, it appears that a spectrogram contains no information about the exact, or even approximate, phase (waves), phase of the signal that it represents. For this reason, it is not possible to reverse the process and generate a copy of the original signal from a spectrogram, though in situations where the exact initial phase is unimportant it may be possible to generate a useful approximation of the original signal. The Analysis & Resynthesis Sound Spectrograph is an example of a computer program that attempts to do this. The pattern playback, Pattern Playback was an early speech synthesizer, designed at Haskins Laboratories in the late 1940s, that converted pictures of the acoustic patterns of speech (spectrograms) back into sound. In fact, there is some phase information in the spectrogram, but it appears in another form, as time delay (or group delay) which is the Dual (mathematics), dual of the instantaneous frequency. The size and shape of the analysis window can be varied. A smaller (shorter) window will produce more accurate results in timing, at the expense of precision of frequency representation. A larger (longer) window will provide a more precise frequency representation, at the expense of precision in timing representation. This is an instance of the Heisenberg uncertainty principle, that the product of the precision in two conjugate variables is greater than or equal to a constant (B*T>=1 in the usual notation).


Applications

* Early analog spectrograms were applied to a wide range of areas including the study of bird calls (such as that of the great tit), with current research continuing using modern digital equipment and applied to all animal sounds. Contemporary use of the digital spectrogram is especially useful for studying frequency modulation (FM) in animal calls. Specifically, the distinguishing characteristics of FM chirps, broadband Clicking noise, clicks, and social harmonizing are most easily visualized with the spectrogram. * Spectrograms are useful in assisting in overcoming speech deficits and in speech training for the portion of the population that is profoundly hearing impairment, deaf * The studies of phonetics and speech synthesis are often facilitated through the use of spectrograms. * In deep learning-keyed speech synthesis, spectrogram (or spectrogram in mel scale) is first predicted by a seq2seq model, then the spectrogram is fed to a neural vocoder to derive the synthesized raw waveform. * By reversing the process of producing a spectrogram, it is possible to create a signal whose spectrogram is an arbitrary image. This technique can be used to hide a picture in a piece of audio and has been employed by several electronic music artists. See also steganography. * Some modern music is created using spectrograms as an intermediate medium; changing the intensity of different frequencies over time, or even creating new ones, by drawing them and then inverse transforming. See Audio timescale-pitch modification and Phase vocoder. * Spectrograms can be used to analyze the results of passing a test signal through a signal processor such as a filter in order to check its performance. * High definition spectrograms are used in the development of RF and microwave systems * Spectrograms are now used to display scattering parameters measured with vector network analyzers * The United States Geological Survey, US Geological Survey and the IRIS Consortium provide near real-time spectrogram displays for monitoring seismic stations * Spectrograms can be used with recurrent neural networks for speech recognition.


See also

* Acoustic signature * Chromagram * Fourier analysis for computing periodicity in evenly spaced data * Generalized spectrogram * Least-squares spectral analysis for computing periodicity in unevenly spaced data * List of unexplained sounds * Reassignment method * Spectral music * Spectrometer * Strobe tuner * Waveform


References


External links

{{Wiktionary
See an online spectrogram of speech or other sounds captured by your computer's microphone.

Generating a tone sequence whose spectrogram matches an arbitrary text, online


* [https://web.archive.org/web/20120331164713/https://kdenlive.org/users/granjow/introducing-scopes-audio-spectrum-and-spectrogram Article describing the development of a software spectrogram]
History of spectrograms & development of instrumentation


from a linguistic professor's ''Monthly Mystery Spectrogram'' publication.
Sonogram Visible Speech
GPL Licensed freeware for the Spectrogram generation of Signal Files. Acoustic measurement Signal processing Time–frequency analysis