[R] Playing a music file in R

David Winsemius dw|n@em|u@ @end|ng |rom comc@@t@net
Wed Jul 22 05:15:08 CEST 2020

 From the package's DESCRIPTION file found as the first hit to a search 
with rseek.org using strategy "play mp3 files":

Package:     ‘tuneR’ July 8, 2018

Version:     1.3.3 Date 2018-07-03

Title:     Analysis of Music and Speech

Author:     Uwe Ligges with contributions from Sebastian Krey, Olaf 
Mersmann, Sarah Schnackenberg, Guillaume Guenard, Andrea Preusser, Anita 
Thieler, Johanna Mielke and Claus Weihs, as well as code fragments and 
ideas from the former package 'sound' by Matthias Heymann and functions 
from 'rastamat' by Daniel P. W. Ellis. The included parts of the libmad 
MPEG audio decoder library are authored by Underbit Technologies

Description:     Analyze music and speech, extract features like MFCCs, 
handle wave files and their representation in various ways, read mp3, 
read midi, perform steps of a transcription, ... Also contains functions 
ported from the 'rastamat' 'Matlab' package.



On 7/21/20 11:00 AM, Vahid Borji wrote:
> Hello my R friends,
> How can we call a music file from our laptop (for example from desktop) and
> play it in R? Could you please give me an explicit example by writing
> commands in R. Is it necessary for our music file to be in a specific
> format? If yes, which format it has to be?
> Thank you in advance
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help using 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.

More information about the R-help mailing list