realbasic-nug
[Top] [All Lists]

Re: Playing sounds under Windows - quick question

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Playing sounds under Windows - quick question
From: Chris Smolinski <csmolinski at erols dot com>
Date: Fri, 28 Jun 2002 09:27:29 -0400
Hmm... both machines actually have QT on them (since I am also using the
graphics exporting functions as well). 

The sound in question is very short - it is just a click sound in fact, 
a few hundred bytes. 

I'd consider tweaking the PC speaker with some port I/O commands, but I
don't know if that is considered kosher under windows. 


> From: "Christian Miller" <realbasic at nc dot rr dot com>
> 
> It probably requires QuickTime.  One thing to note is that the sound
> file will bulk up your project.  If you have a lot of large sounds, this
> can be ugly.  What I ended up doing for one of my projects is
> distributing Wave files for the Windows build, and Sys7 sounds for the
> Mac builds, and the load them up at runtime.
> 
> On Friday, June 28, 2002, at 06:58  AM, Chris Smolinski wrote:
> 
> > For one of my applications, I need to play a sound. What I did was drag
> > the sound into the project. This works fine under MacOS/X, and on *some*
> > Windows systems. What are the requirements on the Windows system in
> > order to play such a sound?
> >


<Prev in Thread] Current Thread [Next in Thread>