Dear Vahid,
Re:
> I have a question regarding the following code:
> setWavPlayer("/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/play")
># path depends on your R version etc.
>
> How can I find the corresponding path on my laptop?
This line ...
setWavPlayer("/Library/Framewo
Dear Vahid,
Re:
> I have a question regarding the following code:
> setWavPlayer("/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/play")
># path depends on your R version etc.
>
> How can I find the corresponding path on my laptop?
This line ...
setWavPlayer("/Library/Framewo
Thie "system" command in R takes the first argument and passes that to
the shell in which R is running.
1) I run R in the bash shell under Fedora Linux version 30
2) I have installed "mplayer" as an audio/visual player that can be
called from the bash shell
3) The command I pass says "Start the mpl
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, Ol
Hello vahid.borji,
Re:
> 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?
Wave
Hi Vahid,
The following command:
system("mplayer /home/jim/songs/bimbo_soul.mp3",
wait=FALSE,ignore.stdout=TRUE)
works fine for me. Of course you'll have to specify a music player and
music file that you have...
Jim
On Wed, Jul 22, 2020 at 4:02 AM Vahid Borji wrote:
>
> Hello my R friends,
>
Google search "playing music with r"
for example:
https://stackoverflow.com/questions/31782580/how-can-i-play-birthday-music-using-r
It can be a starting point
Yousri
On Tue, Jul 21, 2020 at 2:02 PM Vahid Borji wrote:
>
> Hello my R friends,
>
> How can we call a music file from our laptop (for
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 advan
8 matches
Mail list logo