read_mp3: Read MP3 files

View source: R/read_audio.R

read_mp3R Documentation

Read MP3 files

Description

A thin wrapped around readMP3 from the package tuneR.

Usage

read_mp3(file, time_exp = 1, ...)

Arguments

file

a MP3 file.

time_exp

integer. Time expansion factor of the recording. Set to 1 for real-time recording or above for time expanded recording. Default setting is 1.

...

currently not implemented.

Value

A Wave object.

Examples


filepath <- system.file("extdata", "recording.mp3", package = "bioacoustics")
read_mp3(filepath)



bioacoustics documentation built on Nov. 13, 2025, 9:06 a.m.