View source: R/backend-common.R
torchaudio_load | R Documentation |
Loads an audio file from disk using the default loader (getOption("torchaudio.loader")).
torchaudio_load( filepath, offset = 0L, duration = -1L, unit = c("samples", "time") )
filepath |
(str): Path to audio file |
offset |
(int): Number of frames (or seconds) from the start of the file to begin data loading. (Default: |
duration |
(int): Number of frames (or seconds) to load. |
unit |
(str): "sample" or "time". If "sample" duration and offset will be interpreted as frames, and as seconds otherwise. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.