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
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adler D, Murdoch D (2016) rgl: 3D visualization device system (OpenGL). http://CRAN.R-project.org/package=rgl, R package
Fristrup KM, Watkins WA (1992) Characterizing acoustic features of marine animal sounds. Tech. rep., Woods Hole Oceanographic Institution Technical Report WHOI-92-04
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–67
Katz J, Hafner SD, Donovan T (2016b) Tools for automated acoustic monitoring within the R package monitor. Bioacoustics 25:191–210
Mallat S (2009) A wavelet tour of signal processing: the sparse way. Elsevier, Amsterdam
Quatieri TF (2002) Discrete-time speech signal processing: principles and practice. Pearson, Noida
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–477
Sueur J, Aubin T (2006) When males whistle at females: complex fm signals in cockroaches. Naturwissenschaften 93:500–505
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–73
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this chapter
Cite this chapter
Sueur, J. (2018). Spectrographic Visualization. In: Sound Analysis and Synthesis with R. Use R!. Springer, Cham. https://doi.org/10.1007/978-3-319-77647-7_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-77647-7_11
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-77645-3
Online ISBN: 978-3-319-77647-7
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)