[racket] Sounds in Universe?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Oct 19 10:20:39 EDT 2011

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):


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.


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

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.