Description Usage Arguments Value Examples
View source: R/SpectrogramSingle.R
Code to calculate a spectrogram for a single sound file
1 2 3 4 5 6 7 8 | SpectrogramSingle(
sound.file,
min.freq = 500,
max.freq = 8000,
Colors = "BW",
downsample = TRUE,
downsample.new = 16000
)
|
sound.file |
The location of the .wav file |
min.freq |
The minimum frequency (Hz) of the signal of interest |
max.freq |
The maximum frequency (Hz) of the signal of interest |
Colors |
Whether to return a black and white or color spectrogram |
downsample |
If the sound file should be downsampled before creating the spectrogram |
downsample.new |
<- The frequency (Hz) to downsample to |
a spectrogram image
1 2 | SpectrogramSingle(sound.file ="FocalRecordings/FemaleGibbon_1.wav",
min.freq = 500,max.freq=2500,Colors = 'Colors')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.