powered by
Retrive metadata from wav without load the audio samples in memory.
wav_info(filepath)
AudioMetaData: sample_rate, channels, samples
(chr) path to wav file
wav_path <- system.file("waves_yesno/1_1_0_1_1_0_1_1.wav", package = "torchaudio") wav_info(wav_path)
Run the code above in your browser using DataLab