无法读取 R 中的 MP3 文件
Unable to read MP3 file in R
library(tuneR)
Awaaz <- readWave("C:/Users/Ram/Downloads/XC312210 - Mallee Emu-wren - Stipiturus mallee.mp3" ,
from = 1, to = Inf,"samples", header = FALSE, toWaveMC = NULL)
收到以下错误消息...
Error in while (!(RIFF == "RIFF" && WAVE == "WAVE")) { :
missing value where TRUE/FALSE needed
TuneR
- readWave: reading Wave files
- readMP3: read an MPEG-2 layer 3 file into a Wave object
readWave
读取Wave文件,readMP3
读取MP3文件。很简单。
library(tuneR)
Awaaz <- readWave("C:/Users/Ram/Downloads/XC312210 - Mallee Emu-wren - Stipiturus mallee.mp3" ,
from = 1, to = Inf,"samples", header = FALSE, toWaveMC = NULL)
收到以下错误消息...
Error in while (!(RIFF == "RIFF" && WAVE == "WAVE")) { : missing value where TRUE/FALSE needed
TuneR
- readWave: reading Wave files
- readMP3: read an MPEG-2 layer 3 file into a Wave object
readWave
读取Wave文件,readMP3
读取MP3文件。很简单。