View source: R/backend-common.R
torchaudio_info | R Documentation |
Retrieve audio metadata.
torchaudio_info(filepath)
filepath |
(str) path to the audio file. |
AudioMetaData: an R6 class with fields sample_rate, channels, samples.
path <- system.file("waves_yesno/1_1_0_1_1_0_1_1.wav", package = "torchaudio")
torchaudio_info(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.