I am currently trying to add a few missing sounds to a WWISE sound set
the sound pac works fine but one or two sounds were omitted … For example I need to add a Stick Shaker Sound using a WAV Stored in the \sound folder, triggered by the Stall Warning (Or an L var) .
Based on advice given by an experienced WWISE programmer we have come up with the following code section But Alas … there is no sound being played
For ‘continuous’ sounds I prefer control over the volume and pitch although in your case if you’re really limiting your requirement to a 0…1 boolean like “STALL WARNING” it’s more than you want. FWIW here’s a complete working entry from sound.xml for a sound file “glider_wind.wav”:
Hello! I’m struggling to get a sound to trigger for one of my switches. From the model.xml file, What’s the code needed to trigger the sound pointed in sounds.xml? Any help would be appreciated !
Do you mean a WAV file or a sound embedded in a WWISE soundbank? If it’s just a WAV file (e.g. “STALL_HORN.wav”) then the instructions from ModelMuncher immediately above your post should cover it. The sound will be played when the SimVar goes positive, or you can use “LocalVar” instead of SimVar and use the name of an “L:” variable you’re updating in your model XML.
Maybe it’s worth you explaining in more detail what sound you’re trying to play, and what’s the situation you’re expecting to trigger the sound?