Re: [R] R Audio Problems when using Vista/Windows 7

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Sat, 14 May 2011 21:29:09 +0200

I found this rather old but unanswered message in my archives.

On 10.01.2011 00:07, d10sfan wrote:
>
> Ive been trying to help someone with using R scripts with audio on Windows
> Vista/7. The problem is that all the packages Ive tried fail to work
> properly when being used on Windows 7.
>
> I couldnt get "audio" to work at all. It kept coming up with the message
> that wmm output could not happen. Worked fine on Windows XP and OS X but not
> 7.
>
> Tried tuneR and the default worked alright but I couldnt get the window to
> embed, as in not appear. I then copied over mplayer and sndrec32 and those
> worked but I got tons of warnings about them returning error codes.

I think there is no audio package available that can play a sound and is "embedded" for Windows 7. The point is that the "new" wmplayer does not provide any appropriate command line flags. Audio packjages typically rely on the fact, that you have an appropriate player available and use the one that comes with the OS as the (in this case less appropriate) default.

Hence the recommendation is to install an appropriate player that works with Windows 7 without warnings and then tell the audio package to use that one.

In tuneR, see the help pages ?play and ?setWavPlayer for details.

Best,
Uwe Ligges

> What Id like some help with is either someone knows an audio package for R
> that works under Windows 7 or if someone knows a way of getting rid of the
> warnings that show up when using one of the old xp applications.



R-help_at_r-project.org mailing list
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. Received on Sat 14 May 2011 - 19:34:24 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 14 May 2011 - 19:50:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive