mp3_info: MP3 Information

View source: R/backend-common.R

mp3_infoR Documentation

MP3 Information

Description

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

Usage

mp3_info(filepath)

Arguments

filepath

(chr) path to mp3 file

Value

AudioMetaData: sample_rate, channels, samples

Examples

mp3_path <- system.file("sample_audio_1.mp3", package = "torchaudio")
mp3_info(mp3_path)


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