Description Usage Arguments Examples
View source: R/sound_spectrogram.R
Convert the output of read_wav to a spectrogram
1 2 | sound_spectrogram(wav, window_ms = 1, overlap = 0.9,
frequency_range = c(10000, 130000))
|
wav |
An object as created by |
window_ms |
The size of the window in microseconds. Default to 1. |
overlap |
The overlap of two windows. Defaults to 0.9. |
frequency_range |
the range of frequencies to use in Hz. Frequencies below the minimum or above the maximum are removed from the spectrogram. Defaults to 10000 (10 kHz) and 130000 (130 kHz). |
1 2 3 4 5 6 | wav <- sound_wav(
system.file("demo.wav", package = "soundcluster"),
te_factor = 10,
max_length = 0.1
)
sound_spectrogram(wav)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.