Skip to content

helpful tool for playing music and/or seewave

6 messages · Carl Witthoft, Timothy Bates, Simon Urbanek

#
Reading thru the docs on seewave, or maybe sound, (which seewave likes 
to use), I noticed that they hadn't set up a WAV player for OSX.  After 
not having any luck with calls like

 > setWavePlayer(quicktime\ player) , I found a nice little tool, freeware:

http://www.hieper.nl/html/play.html

After installing that,

 >setWavePlayer('/applications/play')

worked perfectly.

Just thought someone might want to know ^_^

Carl
#
On Feb 12, 2009, at 8:47 PM, Carl Witthoft wrote:

            
Actually R can play (and record) audio on OS X directly without any  
tools - see the audio package ;).

Cheers,
S
#
Great timing simon!

A search on <http://www.rseek.org> indicates that package "signals"  
might be very helpful - most audio generated needs to be windowed, and  
signals has that as well as a set of nice filtering tools.

<http://cran.r-project.org/web/packages/signal/signal.pdf>

Expected date for R to replace matlab, Mplus, SPSS, SAS, E-prime, and  
LabVIEW = 2015 :-)

Just need to get each of the universities and companies that save  
$5000/seat*300,000 seats to chip that into R development.

tim
#
Hmmm...  yep, audio (package) looks nice.
This leads to a question of tool name collisions -- there's play() here 
and in seewave.  I'll post my query about that in the r-help list.
Simon Urbanek wrote:
#
On Feb 13, 2009, at 6:37 PM, Carl Witthoft wrote:

            
[Please CC me, I'm not subscripted to R-help,] but that's why I have  
defined as a generic so anyone can use it and define methods for it ...

Cheers,
S
#
On Feb 12, 2009, at 10:01 PM, Simon Urbanek wrote:

            
Since there was some confusion, that "audio" package supports all  
platforms (Windows, unix, ..), not just OS X. I was just pointing out  
OS X since this is SIG-Mac (and not SIG-Windows ;;).

Cheers,
S