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
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac