sona.vid | R Documentation |
Implements dynamic sonagrams as .mp4 files as explained in much detail here (here)[https://marce10.github.io/dynaSpec/] Only works if (FFMPEG)[https://ffmpeg.org/download.html] is installed (see (wikihow tutorial)[https://www.wikihow.com/Install-FFmpeg-on-Windows] to get help)
sona.vid(
wave = NULL,
res = 120,
wl = 1024,
ymin = 0,
ymax = 9,
loop = 1,
scalecexlab = 0.5,
scalefontlab = 0.5,
cexlab = 0.5,
cexaxis = 0.5,
t.range = 10,
tlab = "",
flab = "kHz",
colbg = c("black", "white"),
fix.time = F,
out = "default"
)
wave |
path to a .mp3 or .wav audio file. |
res |
res |
wl |
A numeric vector of length 1 specifying the window length of the spectrogram, default is NULL. If supplied, 'hop.size' is ignored. |
ymin |
min frequency |
ymax |
max frequency |
loop |
Logical argument to control if the video is formatted to be played in a loop (i.e. if ends at the start of the clip). |
scalecexlab |
scalecexlab |
scalefontlab |
scalefontlab |
cexlab |
cexlab |
cexaxis |
cexaxis |
t.range |
x-axis width in seconds |
tlab |
name of time (x) axis |
flab |
name of frequency (y) axis |
colbg |
Character string to control the background color. Default is 'white'. |
fix.time |
Logical argument to control if the time axis moves along with the spectrogram or remains fixed. Default is |
out |
output file name |
https://marce10.github.io/dynaSpec/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.