Skip to content
Back to formatted view

Raw Message

Message-ID: <721A41C7-35EE-4A8B-A3BA-B62BE4EADB9C@eva.mpg.de>
Date: 2008-08-27T15:21:39Z
From: Hans-Jörg Bibiko
Subject: sound::setWavPlayer()
In-Reply-To: <6D440265-02DE-4E60-92EC-660F2C0C5E41@r-project.org>

On 27.08.2008, at 17:06, Simon Urbanek wrote:

> To be precise to play an audio file all you do is
> [[[NSSound initWithContentsOfFile:fileName byReference:YES]  
> autorelease] play];
> Thats' all :)

Ah, you mean that the function play(A_SOUND_FILE) should be part of  
R's core code which implements it for a given platform.
This of course would be the best way.

I also had a look at the tuneR package. Well, by my opinion it would  
be worth to put the sound and tuneR packages together. There're some  
functions which do in principal the same thing, thus one shouldn't  
reinvent the wheel twice.

--Hans