[plt-scheme] audio

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jun 6 15:27:13 EDT 2008

On Jun  6, John Clements wrote:
> 
> On Jun 5, 2008, at 7:32 AM, Atmam Ta wrote:
> 
> > Hi,
> >
> > I would like to play a sound file and be able to pause it in  
> > response to a user event (or alternatively, play a short segment of  
> > an audio file). Is this possible in PLT-Scheme? I have not found any  
> > library for such tasks...
> 
> I'm not aware of such a library. I'm guessing that the difficulty here  
> is in supplying something cross-platform.  It would probably be  
> (relatively) simple, though, to use the FFI to construct a PLaneT  
> package that works on one particular platform.

In case you're on Windows, I have some code (sketch quality but
working fine) for an MCI interface, using the string version means
that the FFI part is pretty simple
(http://msdn.microsoft.com/en-us/library/ms709461.aspx, look for "MCI
Command Strings").

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.