[racket] play-sound
On Nov 29, 2010, at 9:25 AM, John Clements wrote:
>
> On Nov 29, 2010, at 1:37 AM, synx wrote:
>
>> Sound isn't really the forté of windowing applications. I'm not sure why
>> "play-sound" is in there at all. But to be more helpful, do you have
>> "portaudio" support? You could try using the planet package for that:
>>
>> http://planet.racket-lang.org/display.ss?package=rsound.plt&owner=clements
>>
>> (require (planet clements/rsound:1))
>>
>> http://www.portaudio.com/
>>
>> I haven't tried it yet. Can supposedly play 16-bit PCM though!
>
> Thanks for the link. Be aware that the most recent version (1 10) works only with extremely recent versions of DrRacket. Version (1 9) is fairly robust, though.
I should also mention that the proposed use (playing multiple simultaneous sounds asynchronously) is probably not a good fit for the current API, in that playing a sound interrupts an already-playing sound. This works well for introductory students, but sounds like it's not what you're looking for.
Let's call that a feature request.
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20101129/dc788785/attachment.p7s>