All Topics  
Spectrogram

 

   Email Print
   Bookmark   Link






 

Spectrogram



 
 
A spectrogram is an image that shows how the spectral density
Spectral density

In statistical signal processing and physics, the spectral density, power spectral density , or energy spectral density , is a positive real function of a frequency variable associated with a stationary stochastic process, or a deterministic function of time, which has dimensions of power per Hz, or energy per Hz....
 of a signal varies with time. Also known as spectral waterfalls, sonograms, voiceprints, or voicegrams, spectrograms are used to identify phonetic
Phonetics

Phonetics is a branch of linguistics that comprises the study of the sounds of human speech. It is concerned with the physical properties of speech sounds , and the processes of their physiological production, auditory reception, and neurophysiological perception....
 sounds, to analyse the cries of animals, and in the fields of music
Music

Music is an art form whose media is sound organized in time. Common elements of music are pitch , rhythm , dynamics , and the sonic qualities of timbre and texture ....
, sonar
Sonar

Sonar is a technique that uses sound propagation to navigation, communicate with or detect other vessels. There are two kinds of sonar: active and passive....
/radar
Radar

Radar is a system that uses electromagnetic radiation waves to identify the range, altitude, direction, or speed of both moving and fixed objects such as aircraft, ships, motor vehicles, weather formations, and terrain....
, speech processing
Speech processing

Speech processing is the study of Speech communication Signal_ and the processing methods of these signals.The signals are usually processed in a digital representation whereby speech processing can be seen as the intersection of digital signal processing and natural language processing....
, seismology
Seismology

Seismology is the scientific study of earthquakes and the propagation of Linear elasticity#Elastic waves through the Earth. The field also includes studies of earthquake effects, such as tsunamis as well as diverse seismic sources such as volcanic, tectonic, oceanic, atmospheric, and artificial processes ....
, etc.






Discussion
Ask a question about 'Spectrogram'
Start a new discussion about 'Spectrogram'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Spectrogram of Violin
A spectrogram is an image that shows how the spectral density
Spectral density

In statistical signal processing and physics, the spectral density, power spectral density , or energy spectral density , is a positive real function of a frequency variable associated with a stationary stochastic process, or a deterministic function of time, which has dimensions of power per Hz, or energy per Hz....
 of a signal varies with time. Also known as spectral waterfalls, sonograms, voiceprints, or voicegrams, spectrograms are used to identify phonetic
Phonetics

Phonetics is a branch of linguistics that comprises the study of the sounds of human speech. It is concerned with the physical properties of speech sounds , and the processes of their physiological production, auditory reception, and neurophysiological perception....
 sounds, to analyse the cries of animals, and in the fields of music
Music

Music is an art form whose media is sound organized in time. Common elements of music are pitch , rhythm , dynamics , and the sonic qualities of timbre and texture ....
, sonar
Sonar

Sonar is a technique that uses sound propagation to navigation, communicate with or detect other vessels. There are two kinds of sonar: active and passive....
/radar
Radar

Radar is a system that uses electromagnetic radiation waves to identify the range, altitude, direction, or speed of both moving and fixed objects such as aircraft, ships, motor vehicles, weather formations, and terrain....
, speech processing
Speech processing

Speech processing is the study of Speech communication Signal_ and the processing methods of these signals.The signals are usually processed in a digital representation whereby speech processing can be seen as the intersection of digital signal processing and natural language processing....
, seismology
Seismology

Seismology is the scientific study of earthquakes and the propagation of Linear elasticity#Elastic waves through the Earth. The field also includes studies of earthquake effects, such as tsunamis as well as diverse seismic sources such as volcanic, tectonic, oceanic, atmospheric, and artificial processes ....
, etc. The instrument that generates a spectrogram is called a spectrograph or sonograph.

Format


The most common format is a graph with two geometric dimensions: the horizontal axis represents time
Time

Time is a component of the measurement used to sequence events, to compare the durations of events and the intervals between them, and to quantify the motions of objects....
, the vertical axis is frequency
Frequency

Frequency is the number of occurrences of a repeating event per unit time. It is also referred to as temporal frequency.The period is the duration of one cycle in a repeating event, so the period is the reciprocal of the frequency....
; a third dimension indicating the amplitude of a particular frequency at a particular time is represented by the intensity
Intensity (disambiguation)

Intensity is a widely-used term, which can refer to:In colloquial use:*Strength*Amplitude*Level*MagnitudeIn physics:*Intensity , power per unit area ...
 or colour 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 the amplitude is represented as the height of a 3D surface instead of color or intensity. The frequency and amplitude axes can be either linear
Linear

The word linear comes from the Latin word linearis, which means created by lines.In mathematics, a linear map or function f is a function which satisfies the following two properties......
 or logarithm
Logarithm

In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
ic, depending on what the graph is being used for. For instance, audio would usually be represented with a logarithmic amplitude axis (probably in dB), and frequency would be linear to emphasize harmonic relationships, or logarithmic to emphasize musical, tonal relationships.

Generation


Praat Spectrogram Tatata
Spectrograms are usually created in one of two ways: with a series of bandpass filters (this was the only way before the advent of modern digital signal processing), or calculated from the time signal using the short-time Fourier transform
Short-time Fourier transform

The short-time Fourier transform , or alternatively short-term Fourier transform, is a List of Fourier-related transforms used to determine the sinusoidal frequency and phase content of local sections of a signal as it changes over time....
 (STFT).

The bandpass filters method usually uses 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 STFT is usually a digital process. Digitally sampled data, in the 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 spectrums or time plots are then "laid side by side" to form the image or a three-dimensional surface.

The spectrogram is given by the squared magnitude
Magnitude (mathematics)

The magnitude of a mathematical object is its size: a property by which it can be larger or smaller than other objects of the same kind; in technical terms, an ordering of the class of objects to which it belongs....
 of the STFT of the function:



Applications


  • Early analog spectrograms were applied to the study of bird calls, with current research continuing using modern digital equipment and applied to all animal sounds. It is especially useful for studying frequency modulation
    Frequency modulation

    In telecommunications, frequency modulation conveys information over a carrier wave by varying its frequency . In analog signal applications, the instantaneous frequency of the carrier is directly proportional to the instantaneous value of the input signal....
     in animal calls.
  • Spectrograms are useful in assisting the overcoming of speech defects and in speech training for that portion of the population that is profoundly deaf
    Hearing impairment

    A hearing impairment is a full or partial decrease in the ability to detect or understand sounds.Caused by a wide range of biological and environmental factors, loss of hearing can happen to any organism that perceives sound....
  • The studies of phonetics and speech synthesis are often facilitated through the use of spectrograms.
  • 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
    Electronic music

    Electronic music is music that employs electronic musical instruments and electronic music technology in its production. In general a distinction can be made between sound produced using electromechanical means and that produced using electronic technology....
     artists. See also steganography
    Steganography

    Steganography is the art and science of writing hidden messages in such a way that no-one apart from the sender and intended recipient suspects the existence of the message, a form of security through obscurity....
    .
  • 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
    Audio timescale-pitch modification

    Time stretching is the process of changing the speed or duration of an audio signal processing without affecting its pitch .Pitch scaling or pitch shifting is the reverse: the process of changing the pitch without affecting the speed....
     and Phase vocoder
    Phase vocoder

    A phase vocoder is a type of vocoder which can Scaling both the frequency and time domains of audio signals by using Phase information. The computer algorithm allows frequency-domain modifications to a digital sound file ....
    .
  • Spectrograms can be used to analyse the results of passing a test signal through a signal processor such as a filter in order to check its performance.


Limitations

From the formula above, it can be seen that a spectrogram contains no information about the phase
Phase (waves)

The phase of an oscillation or wave is the fraction of a complete cycle corresponding to an offset in the displacement from a specified reference point at time t = 0....
 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 phase is unimportant (of which audio is often one), it may be possible to generate a useful approximation of the original signal. is an example of a computer program that attempts to do this.

See also

  • Short-time Fourier transform
    Short-time Fourier transform

    The short-time Fourier transform , or alternatively short-term Fourier transform, is a List of Fourier-related transforms used to determine the sinusoidal frequency and phase content of local sections of a signal as it changes over time....
  • Spectrometer
    Spectrometer

    A spectrograph is an optical instrument used to measure properties of light over a specific portion of the electromagnetic spectrum, typically used in spectroscopic analysis to identify materials....
  • Spectrum
    Spectrum

    A spectrum is a condition that is not limited to a specific set of values but can vary infinitely within a Continuum . The word saw its first scientific use within the field of optics to describe the rainbow of colors in visible light when separated using a triangular prism ; it has since been applied by analogy to many fields other than op...
  • Wavelet transform
  • Time-frequency representation
    Time-frequency representation

    A time-frequency representation is a view of a signal processing represented over both time and frequency. Time-frequency analysis means analysis of a TFR....
  • Strobe tuners
    Electronic tuner

    An electronic tuner is a device used by musicians to detect and display the Pitch of notes played on musical instruments. The simplest tuners use LED lights or a needle to indicate approximately whether the pitch of the note played is lower, higher, or approximately equal to the desired pitch....


External links