read_mp3: Read MP3 files

Description Usage Arguments Value Examples

View source: R/read_audio.R

Description

A thin wrapped around readMP3 from the package tuneR.

Usage

1
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

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

bioacoustics documentation built on Feb. 8, 2022, 5:06 p.m.