[racket] Sounds in Universe?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Oct 19 10:35:53 EDT 2011

It looks fun to rewrite this game according to the style guide. 


On Oct 19, 2011, at 10:20 AM, Jay McCarthy wrote:

> I am working on a functional interface to dynamic, located sounds.
> 
> Here is a little Pong game that uses my interface (and my
> OpenGL-accelerated world (60 FPS!) package):
> 
> https://github.com/get-bonus/get-bonus/blob/master/games/tennis/tennis.rkt
> 
> The crucial difference is that on-tick returns three values:
> 
> a new world
> a drawing object
> a list of sounds
> 
> A sound is a function from the world to a sound state or #f. (There
> are many combinators that hide this though.) A sound state includes
> things like a 2D position, a volume, the sound file, etc.
> 
> It uses OpenAL as the sound interface and is only tested on OS X.
> 
> I'd like to experiment more (and have others experiment) and then make
> it more available.
> 
> Jay
> 
> On Wed, Oct 19, 2011 at 5:59 AM, Yaron Minsky <yminsky at gmail.com> wrote:
>> Is there any support for playing sounds within the Universe teachpack?
>> y
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/users
>> 
> 
> 
> 
> -- 
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://faculty.cs.byu.edu/~jay
> 
> "The glory of God is Intelligence" - D&C 93
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.