soxSpectrogram | R Documentation |
Functions from Sam Hache to create spectrograms
soxSpectrogram(
file.path,
out.path = "Spectrograms",
out.app = "test",
size = list(x = 2000, y = 1000),
duration = list(start = 0, end = 180),
sox.file.path
)
file.path |
Input must be file with its directory (file.path) |
out.path |
Default will save in Spectrogram folder in the current working directory otherwise specify location (out.path) |
out.app |
Appends to the start of the output file. Default is 'test' |
size |
Size of picture in pixels |
duration |
Duration of recording to plot |
sox.file.path |
Path to sox file. |
Create spectrogram and save it wherever you want Input must be file with its directory (file.path) Default will save in Spectrogram folder in the current working directory otherwise specify location (out.path) Size specifies the x and y size of the output in pixels must be list Duration sets the duration of spectrogram default is 3 min and is listed in seconds
Does not return anything, but does create a image file at out.path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.