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?
I got the sound working from ModelMuncher instructions. Thanks @ModelMuncher_xblms. But the point is: I need to trigger the sound for my magnetos ON an OFF Positions.
This code did the trick partially, because it just trigger it for the magneto ON position. (RECIP ENG LEFT MAGNETO:1) I´d like to know how can I get the sound plays when the magneto is OFF too. I didn´t find a Simvar for Magneto OFF. Maybe there is some parameters missing for that. I´m sure there is a way, but no lucky yet. For me It doesn´t matter to use a SOUND bank PACK or a .wav file. Can you help me in this journey? Thanks in advance