powered by
Retrive metadata from mp3 without load the audio samples in memory.
mp3_info(filepath)
AudioMetaData: sample_rate, channels, samples
(chr) path to mp3 file
mp3_path <- system.file("sample_audio_1.mp3", package = "torchaudio") mp3_info(mp3_path)
Run the code above in your browser using DataLab