Learn R Programming

torchaudio (version 0.2.2)

wav_info: Wave Information

Description

Retrive metadata from wav without load the audio samples in memory.

Usage

wav_info(filepath)

Value

AudioMetaData: sample_rate, channels, samples

Arguments

filepath

(chr) path to wav file

Examples

Run this code
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