All Topics  
Spectrogram

 

   Email Print
   Bookmark   Link

 

Spectrogram


 
 



The spectrogram is the result of calculating the frequency spectrumFrequency spectrum

Familiar concepts associated with a frequency are colors, musical notes, radio/TV channels, and even the regular rotation of the e...
 of windowed frames of a compound signal. It is a three-dimensional plot of the energy of the frequency content of a signal as it changes over time.

Spectrograms are used to identify phoneticPhonetics

Phonetics is the study of sounds and the human voice....
 sounds, to analyse the cries of animals, and in the fields of musicMusic

Music is an art, entertainment, or other human activity that involves organized and audible sounds and silence....
, sonarSonar

SONAR  — or sonar — is a technique that uses sound propagation under water to navigate or to de...
/radarRadar

RADAR is a system that uses radio waves to detect, determine the direction and distance and/or speed of objects such as airc...
, speech processingSpeech processing

Speech processing is the study of speech signals and the processing methods of these signals....
, etc. A spectrogram can also be called a spectral waterfall, sonogram, voiceprint, or voicegram. The instrument that generates a spectrogram is called a sonograph.

Format



In the most usual format, the horizontal axis represents timeTime

Two distinct views exist on the meaning of time....
, the vertical axis is frequencyFrequency

Frequency is the measurement of the number of times that a repeated event occurs per unit of time....
, and the intensityIntensity (disambiguation)

Intensity is a widely-used term, which can mean:...
 of each point in the image represents amplitude of a particular frequency at a particular time. Often the diagram is reduced to two dimensions by indicating the intensity with thicker lines, more intense colors or grey values.

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 linearLinear

The word linear comes from the Latin word linearis, which means created by lines....
 or logarithmLogarithm

The logarithm is the mathematical operation that is the inverse of exponentiation ....
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



Spectrograms are usually created in one of two ways; either with a series of bandpass filters, or calculated from the time signal using the short-time Fourier transformShort-time Fourier transform

The short-time Fourier transform, or alternatively short-term Fourier transform, is a Fourier-related transform used t...
 (STFT).

The filter method is usually used in the analog, continuous version of measurement. The frequency range of the signal (an audio signal, for instance, would have frequencies in the range of 20 Hz - 20 kHz) is divided into equal sections, either linearly (0-100, 100-200, 200-300, ...), or logarithmically (10-100, 100-1000, 1000-10000, ...). The signal is input to a corresponding filterFacts About Audio filter

An audio filter is a type of filter used for processing sound signals....
, which removes most of the signal that does not fall within its frequency band (imperfect window functionWindow function

In signal processing, a window function is a function that is zero-valued outside of some chosen interval....
s and limited frequency resolution will cause some "bleeding" between adjacent frequency bands). The magnitudes of each filter's output are recorded as functions of time. Each recording then corresponds to a horizontal line in the image; a measurement of magnitude versus time for a specific frequency band.

To calculate the spectrogram using the magnitude of the STFT is usually a digital process. Digitally sampleSample (signal)

A sample refers to a value or set of values at a point in time and/or space....
d 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 magnitudeFacts About 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 th...
 of the STFT of the function:



Creating sound from a spectrogram

The above process can be reversed; some programsFacts About Computer program

Most computer programs consist of a list of instructions that explicitly implement an algorithm , another form of computer ...
 are available that turn a digital image into sound:
  • for Macintosh;
  • for WindowsMicrosoft Windows

    Microsoft Windows is a family of operating systems by Microsoft....
    ;
  • for LinuxLinux

    Linux is a Unix-like computer operating system....
    ;
  • , multi-platformCross-platform

    Cross-platform is a term which can refer to computer programs, operating systems, computer languages, programming languages,...
    ;
  • , a JavaJava (programming language)

    Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1...
     applet.
  • FL StudioFL Studio

    FL Studio is a music production software package, also known as a digital audio workstation, created by * DrumSynth Live - a...
    's "BeepMap" additive synthesizer.


This technique allows electronic musicElectronic music

Electronic music is a term for music created using electronic devices....
 artists to "hide" images in their music. Examples include:

  • Aphex TwinAphex Twin

    Aphex Twin is an electronic music artist, credited with pushing forward the genres of techno, ambient, acid, and drum and ...
     hid an image of himself in a spectrogram. The image can be found on Track 2 of the WindowlickerWindowlicker Overview

    "Windowlicker" is a 1999 single by electronic music artist Richard D....
    EP as a nine-second sweeping section right at the end. (It is recognizable in an MP3MP3

    MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a popular digital audio encoding and lossy compression form...
    , but the compression changes the spectrogram and it is not as clear as from the CD.) Aphex Twin also hid the image of a spiral shape in his first track from the "WindowlickerWindowlicker

    "Windowlicker" is a 1999 single by electronic music artist Richard D....
    " EP.
  • The song "Look" from Venetian SnaresVenetian Snares

    , [[Sublight Records|Sublight]...
    ' album Songs About My CatsSongs About My Cats

    Songs About My Cats is a 2001 IDM album by Venetian Snares....
    , contains several images of his cats.
  • The song "3recurring" from PlaidPlaid Summary

    The word plaid has varying but related meanings in the Goidelic languages and has been used to refer to many different thing...
     on their album Rest Proof ClockworkRest Proof Clockwork

    Rest Proof Clockwork was Plaid's second album released after leaving The Black Dog....
    contains the recurring 3s represented as a logo on the cover of the "Not for Threes" album.
  • Nine Inch NailsFacts About Nine Inch Nails

    Nine Inch Nails is a critically and commercially successful American band formed in Cleveland, Ohio in 1988 by Trent Reznor,...
     has employed this technique on a few occasions as part of an ongoing Alternate Reality GameAlternate reality game

    An Alternate Reality Game is a type of game that overlaps the game world with reality, by utilizing real world media, in ord...
     for their album Year ZeroYear Zero (album)

    Year Zero is the sixth studio album by American Industrial rock act Nine Inch Nails, released on April 16, 2007 by Inter...
    .
    • The MP3 version of "My Violent Heart" (deliberately leaked before Year ZeroYear Zero (album)

      Year Zero is the sixth studio album by American Industrial rock act Nine Inch Nails, released on April 16, 2007 by Inter...
      was released) contains a few brief moments of static at the end. When analyzed in a spectrogram, it reveals the image of a hand reaching down from the sky. This image echoes a similar themeCharacters and organizations in the Year Zero alternate reality game

      In the Year Zero alternate reality game several characters and organizations are mentioned....
       seen throughout the alternate reality gameAlternate reality game

      An Alternate Reality Game is a type of game that overlaps the game world with reality, by utilizing real world media, in ord...
       viral marketingViral marketing Summary

      Viral marketing and viral advertising refer to marketing techniques that seek to exploit pre-existing social networks ...
       campaign launched for the album. On the official version of the album, the sound appears at the end of the song "The Warning."
    • Another new Nine Inch Nails track from Year ZeroYear Zero (album) Summary

      Year Zero is the sixth studio album by American Industrial rock act Nine Inch Nails, released on April 16, 2007 by Inter...
      was also found on a flash drive in a bathroom stall on their current European tour. This time it was "Me, I'm Not." Along with the song, was an MP3 of "cricket chirping", which when put through a spectrogram revealed the number: 216.333.1810.
    • Using this method again to deliver clues as part of the Year ZeroFacts About Year Zero (album)

      Year Zero is the sixth studio album by American Industrial rock act Nine Inch Nails, released on April 16, 2007 by Inter...
      ARGAlternate reality game Summary

      An Alternate Reality Game is a type of game that overlaps the game world with reality, by utilizing real world media, in ord...
      , there were two extra audio files included in the GaragebandGarageBand

      GarageBand is a software application that allows users to create a piece of music....
       Multitrack files for the song Capital G. The images in the sounds are of various avatars of user at the Nine Inch NailsNine Inch Nails

      Nine Inch Nails is a critically and commercially successful American band formed in Cleveland, Ohio in 1988 by Trent Reznor,...
       oriented forum Echoing the Sound. The user names are used to form the title of a new site that is part of the ARG.
  • An untitled audio track by Treetops McPhoenix to accompany a video for the Stephen Moles Coma ARGARG

    ARG can mean several things:* Alternate Reality Game...
     on FacebookFacebook

    Facebook is a social networking service for high school, college, university, corporate, non-profit, military and geographic...
     is made entirely from images of the Mona LisaMona Lisa

    Mona Lisa, or La Gioconda , is a 16th-century oil painting on poplar wood by Leonardo da Vinci, and ...
    .


On spectrograms of the records of Mike OldfieldMike Oldfield Overview

Michael Gordon Oldfield is a multi-instrumentalist musician and composer, working a style that blends progressive rock, fol...
's song "Tubular BellsTubular Bells

Tubular Bells is a record album, written and mostly performed by Mike Oldfield....
" signals from the Rugby VLF transmitterFacts About Rugby VLF transmitter

The Rugby VLF transmitter is a large VLF transmission facility near the town of Rugby, Warwickshire in England....
 are found.

Some modern music is also 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 modificationAudio timescale-pitch modification

Time stretching is the process of changing the speed or duration of an audio signal without affecting its pitch....
 and Phase vocoderPhase vocoder

A phase vocoder is a type of vocoder which preserves both frequency and phase information....
.


VLF-reception with the PC

Using spectrograms generated by audio-band FFT-software is a very convenient way to receive frequencies below 24 kHz. This technique allows wide-range reception of the VLFVery low frequency Overview

Very low frequency or VLF refers to radio frequencies in the range of 3 to 30 kHz....
-range.

See also

  • Fast Fourier transformFast Fourier transform

    A fast Fourier transform is an efficient algorithm to compute the discrete Fourier transform and its inverse....
  • Short-time Fourier transformShort-time Fourier transform

    The short-time Fourier transform, or alternatively short-term Fourier transform, is a Fourier-related transform used t...
  • SpectrometerSpectrometer

    A spectrometer is an optical instrument used to measure properties of light over a specific portion of the electromagnetic s...
  • SpectrumSpectrum

    A spectrum is a condition or value that is not limited to a specific set of values but can vary infinely within a continuum...
  • Wavelet transform
  • Time-frequency representationTime-frequency representation

    A time-frequency representation is a view of a signal represented over both time and frequency....


External links