wav_info: Wave Information

View source: R/backend-common.R

wav_infoR Documentation

Wave Information

Description

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

Usage

wav_info(filepath)

Arguments

filepath

(chr) path to wav file

Value

AudioMetaData: sample_rate, channels, samples

Examples

wav_path <- system.file("waves_yesno/1_1_0_1_1_0_1_1.wav", package = "torchaudio")
wav_info(wav_path)


curso-r/torchaudio documentation built on Aug. 6, 2022, 2:28 a.m.