Dear Hans-Jörg,

Here is what I did:

 > require(sound);s <- Sine(440,1)
Loading required package: sound
Warning messages:
1: In findWavPlayer() : No standard wav player known for your system.

2: In setWavPlayer() :
   To play sounds you need to select a wav file player first.
For more information type '?setWavPlayer'.

 > setWavPlayer('QuickTime Player.app')
[1] "WAV file player 'QuickTime Player.app' linked successfully."
 > WavPlayer()
[1] "QuickTime Player.app"
 > play(s)

I could hear nothing. Then:

 > findWavPlayer()
NULL
Warning message:
In findWavPlayer() : No standard wav player known for your system.

 > saveSample(s,"sine.wav")

When I double clicked that file, it played in iTunes.app.

I tried:

 > setWavPlayer('Audacity.app')
[1] "WAV file player 'Audacity.app' linked successfully."
 > play(s)

Nichts.

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/




On Aug 26, 2008, at 1:10 PM, Hans-Jörg Bibiko wrote:

> On 26.08.2008, at 17:59, Michael Kubovy wrote:
>
>
>> require(sound)
>> s <- Sine(440,1)
>> saveSample(s,"sine.wav")
>> #but not:
>> play(s)
>>
>
>
> What does return the command:
>
> WavPlayer()
>
> on your system?
> --Hans
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac


	[[alternative HTML version deleted]]

