Dimitri Liakhovitski
2015-Sep-08 20:28 UTC
[R] Converting a .wav file into an mp3 file in R
Hello, I know how to read in mp3 files, e.g., using tuneR. But is it possible to read in a .wav file - as below and then compress it to mp3 format? library(tuneR) mywav <- readWave("myfile.wav") Thanks a lot for any hints! -- Dimitri Liakhovitski
Hi Dimitri, Have a look at SoX: http://sox.sourceforge.net/ Jim On Wed, Sep 9, 2015 at 6:28 AM, Dimitri Liakhovitski < dimitri.liakhovitski at gmail.com> wrote:> Hello, > > I know how to read in mp3 files, e.g., using tuneR. > But is it possible to read in a .wav file - as below and then compress > it to mp3 format? > > library(tuneR) > mywav <- readWave("myfile.wav") > > > Thanks a lot for any hints! > -- > Dimitri Liakhovitski > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]