Learn R Programming

bioacoustics (version 0.2.8)

read_mp3: 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

Run this code
# NOT RUN {
filepath <- system.file("extdata", "recording.mp3", package = "bioacoustics")
read_mp3(filepath)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab