Advertisement

Spectrographic Visualization

  • Jérôme Sueur
Part of the Use R! book series (USE R)

Abstract

Variations of amplitude and frequency according to timeare commonly visualised through a time × frequency × amplitude density plot, named the spectrogram. The theory of the short-time discrete Fourier transform (and its inverse function), which is behind the spectrogram output, is introduced with a particular attention paid to the uncertainty principle. Practical solutions are given to display, tune, decorate, annotate, describe, animate, and print a 2D/3D spectrogram. The realization of a mean spectrum and a soundscape spectrum, which are computed on the short-time Fourier transform, is also introduced.

Audio files:synth-face.wavElliptorhina_chopardi.wavforest.wavtico.wavpeewit.wavsheep.wavorni.wav

References

  1. Adler D, Murdoch D (2016) rgl: 3D visualization device system (OpenGL). http://CRAN.R-project.org/package=rgl, R package
  2. Fristrup KM, Watkins WA (1992) Characterizing acoustic features of marine animal sounds. Tech. rep., Woods Hole Oceanographic Institution Technical Report WHOI-92-04Google Scholar
  3. Kasten EP, Gage SH, Fox J, Joo W (2012) The remote environmental assessment laboratory’s acoustic library: an archive for studying soundscape ecology. Eco Inform 12:50–67Google Scholar
  4. Katz J, Hafner SD, Donovan T (2016b) Tools for automated acoustic monitoring within the R package monitor. Bioacoustics 25:191–210Google Scholar
  5. Mallat S (2009) A wavelet tour of signal processing: the sparse way. Elsevier, AmsterdamGoogle Scholar
  6. Quatieri TF (2002) Discrete-time speech signal processing: principles and practice. Pearson, NoidaGoogle Scholar
  7. Staszewski WJ, Robertson AN (2007) Time-frequency and time-scale analyses for structural health monitoring. Philos Trans R Soc A: Math Phys Eng Sci 365:449–477MathSciNetCrossRefGoogle Scholar
  8. Sueur J, Aubin T (2006) When males whistle at females: complex fm signals in cockroaches. Naturwissenschaften 93:500–505CrossRefGoogle Scholar
  9. Welch PD (1967) The use of fast Fourier transform for the estimation of power spectra: a method based on time averaging over short, modified periodograms. IEEE Trans Audio Electroacoust 15:70–73CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Jérôme Sueur
    • 1
  1. 1.Muséum National d’Histoire naturelleParisFrance

Personalised recommendations