On Friday 16 April 2004 23:38, Andy Ross wrote:
> Roy Vegard Ovesen wrote:
> > Is there any way to play sounds from a Nasal script?
> Sort of. The current sound model is property-driven. You can create
> a new sound event (see the *-sound.xml files under Aircraft for
> examples) and drive it from a given set of properties. You can then
> set those properties from Nasal.
> There is, however, no way to load a *new* sound from Nasal. It has to
> be seen by the sound manager at startup to be played at runtime. I'm
> not completely sure what such an interface would look like, but it
> shouldn't be hard to do. What are your requirements?
Very simple. I just want to make a beeping sound or a number of beeps to use
when the autopilot is disengaged (or any other audible annunciators).
Roy Vegard Ovesen
Flightgear-devel mailing list