plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

maiusz.kalinowski9 avatar image
maiusz.kalinowski9 asked maiusz.kalinowski9 commented

WWISE sounds missing in MSFS

Hi, I have a problem and don't know where can find soluttion for it. I made soundset for jet engine in wwise, but don't know why sound are not played in MSFS. Is there any sample full project with wwise project and *.xml file to look what I'm doing wrong? I've created PS_A319.PC.pck file, in wwise PS_A319 soundbank name, event name Play_PS_A319_eng1_combustion and coded in xml file as

<Sound WwiseData="true" WwiseEvent="PS_A319_combustion" SimVar="TURB ENG N1" Units="PERCENT" Index="2" >

</Sound>


But nothing is doing. :( Somebody can help? THX

sound
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Boris_ avatar image Boris_ ♦ commented ·

Hello @maiusz.kalinowski9 ,
You can look at the DA62 sample and the wwise sample project. This will give you a good example


Regards,
Boris



0 Likes 0 ·
Flysimware avatar image
Flysimware answered

What version of Wwise are you using? Make sure to use this older version.

SDK

IMPORTANT! When installing Wwise, you should select 2019.2.5 Build 7349 to install, and in the Wwise Launcher, also check the Wwise SoundSeed Air and Wwise Convolution boxes. Both plug-ins are used in Microsoft Flight Simulator.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

maiusz.kalinowski9 avatar image
maiusz.kalinowski9 answered

I'm using correct version. Sounds are playing only when I use default simvars, "JetWhine" for "Play_Horizon_A319_eng1_jet_whine", but this should be additional package, not main package, so I would like to use my own Wwise event name, ex. Play_A319IAE. And I'm coding it like

<Sound WwiseData="true" WwiseEvent="A319IAE" EngineIndex="1" StateOff="false" StateStart="true" StateOn="true" >

<WwiseRTPC SimVar="TURB ENG N2" Units="PERCENT" Index="1" RTPCName="SIMVAR_TURB_ENG_N2"/>

</Sound>

but nothing happens.

And on the top in packages <AdditionalPackage Name="Horizon_A319" /> where file name is Horizon_A319.PC.pck. And I'm standing before the wall right now. :/

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

MaVe_Creations avatar image
MaVe_Creations answered KAI31 commented
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

KAI31 avatar image KAI31 commented ·

Here the installation of the main package is shown, as in the SDK, the description is only for the main package, how to correctly connect additional packages is neither said nor shown nor described in the examples.

0 Likes 0 ·
maiusz.kalinowski9 avatar image
maiusz.kalinowski9 answered

I saw this movie many times, but it's not explained mu issue for me. When I'm doing everything from this movie it works, but I can't use standard simvars for "combustion" or "jetwhine" because it's additional package not main. The main package is Asobo_A320_Neo so when I set event="jetwhine" it plays A320 NEO sounds, if i delete Asobo pack it works, but don't have other cocpkit sounds.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

maiusz.kalinowski9 avatar image
maiusz.kalinowski9 answered

Anybody can help with it? I can't load sounds to sim and don't know what I'm doing wrong. I've got file name Horizon_A319.PC.PCK, in wwise I've got the same Sound Bank name, event Play_Horizon_A319_IAEturb and in sound.xml I'm coding like below:

<MainPackage Name="Asobo_A320_NEO" />
<AdditionalPackage Name="Horizon_A319" />
<AdditionalPackage Name="A320_IAE_Sp"/>
<AdditionalPackage Name="FBW_A320_NEO_1" />
<AdditionalPackage Name="FBW_A320_NEO_2" />
</WwisePackages>


<AcousticParameters>
<Parameter Name="ReverberationPreset" ShareSetInside="rev_inside_default"/>
<Parameter Name="Insulation_ExitClosed" Value="-22"/>
<Parameter Name="Insulation_ExitOpen" Value="-12"/>
</AcousticParameter


(...)

in section Simvarsounds


<Sound WwiseEvent="IAEturb " WwiseData="true" SimVar="TURB ENG N1" Units="percent" Index="1" ViewPoint="Inside" Continuous="true">
<Range LowerBound="0" />
<WwiseRTPC SimVar="TURB ENG N1" Units="percent" Index="1" RTPCName="SIMVAR_TURB_ENG_N1" />
<WwiseRTPC SimVar="AIRSPEED TRUE" Units="knots" Index="1" RTPCName="SIMVAR_AIRSPEED_TRUE" />
<WwiseRTPC SimVar="PLANE ALT ABOVE GROUND" Units="feet" Index="1" RTPCName="SIMVAR_PLANE_ALT_ABOVE_GROUND" />
</Sound>
<Sound WwiseEvent="IAEturb " WwiseData="true" SimVar="TURB ENG N1" Units="percent" Index="2" ViewPoint="Inside" Continuous="true">
<Range LowerBound="0" />
<WwiseRTPC SimVar="TURB ENG N1" Units="percent" Index="1" RTPCName="SIMVAR_TURB_ENG_N1" />
<WwiseRTPC SimVar="AIRSPEED TRUE" Units="knots" Index="1" RTPCName="SIMVAR_AIRSPEED_TRUE" />
<WwiseRTPC SimVar="PLANE ALT ABOVE GROUND" Units="feet" Index="1" RTPCName="SIMVAR_PLANE_ALT_ABOVE_GROUND" />
</Sound>


What I'm doing wrong? What can i looking for? When I'm using standard JetWhine it works correct, but I can't use default asobo package and other, it doesn't work, don't know why.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

maiusz.kalinowski9 avatar image
maiusz.kalinowski9 answered maiusz.kalinowski9 edited

Ok, so after few changes and read SDK documentation when I code:

<MainPackage Name="Asobo_A320_NEO" />

<AdditionalPackage Name="Horizon_A319" />

<AdditionalPackage Name="FBW_A320_NEO_1" />

<AdditionalPackage Name="FBW_A320_NEO_2" />

</WwisePackages>

(...) and

<Sound WwiseEvent="IAEturb" WwiseData="true" SimVar="TURB ENG N1" Units="percent" EngineIndex="1" ViewPoint="Inside" Continuous="true" NodeName="SOUND_ENGINE_LEFT">

<Range LowerBound="0" />

<WwiseRTPC SimVar="TURB ENG N1" Units="percent" Index="1" RTPCName="SIMVAR_TURB_ENG_N1" />

<WwiseRTPC SimVar="AIRSPEED TRUE" Units="knots" Index="1" RTPCName="SIMVAR_AIRSPEED_TRUE" />

<WwiseRTPC SimVar="PLANE ALT ABOVE GROUND" Units="feet" Index="1" RTPCName="SIMVAR_PLANE_ALT_ABOVE_GROUND" />

</Sound>

<Sound WwiseEvent="IAEturb" WwiseData="true" SimVar="TURB ENG N1" Units="percent" EngineIndex="2" ViewPoint="Inside" Continuous="true" NodeName="SOUND_ENGINE_RIGHT">

<Range LowerBound="0" />

<WwiseRTPC SimVar="TURB ENG N1" Units="percent" Index="2" RTPCName="SIMVAR_TURB_ENG_N1" />

<WwiseRTPC SimVar="AIRSPEED TRUE" Units="knots" Index="2" RTPCName="SIMVAR_AIRSPEED_TRUE" />

<WwiseRTPC SimVar="PLANE ALT ABOVE GROUND" Units="feet" Index="2" RTPCName="SIMVAR_PLANE_ALT_ABOVE_GROUND" />

</Sound>

in SimVarSound - mine set doesn't work, other works

when set

<MainPackage Name="Horizon_A319 " />

<AdditionalPackage Name="Asobo_A320_Neo" />

<AdditionalPackage Name="FBW_A320_NEO_1" />

<AdditionalPackage Name="FBW_A320_NEO_2" />

</WwisePackages>


and the same in SimVarSound - mine works correct, other doesn't work. Any suggestions?


Are these values in wwise may do some collision with Asobo and FBW set?

1.png



1.png (28.9 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

maiusz.kalinowski9 avatar image
maiusz.kalinowski9 answered maiusz.kalinowski9 commented

Allright I think the problem is somewhere in collisions. Could someone explain how to understand this :

IMPORTANT: Every event in wwise are prefixed by the name of the MainPackage and followed by the name described in the WwiseEvent attributes whether it comes from the main package or from any additional packages. So, for additional packages we recommend that you add a signature nomenclature to your WwiseEvents attributes so there won't be any collision between the mainpackage or other additional packages. For example, by adding the name of your company, if you are not the content creator of the main package.


What is example to add a signature nomenclature in my WwiseEvents? How it should looks like?

2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Boris_ avatar image Boris_ ♦ commented ·

Hi @maiusz.kalinowski9 ,

What the doc means is that in the Wwise event nomenclature, the code will ALWAYS look for Play_MainPackageName_MyEvent.

It doesn't matter if you have additionnal package or not.

So, if you want to play sounds from an additionnal package called MyCustomSounds.pc.pck, and your MainPackage is Asobo_a320_neo.pc.pck, Your event name in Wwise will be Play_Asobo_a320_neo_MyEvent

In sound.xml you must never name an event (the WwiseEvent attribute) as an existing event.

For example, if there is an existing WwiseEvent="JetWhine" in the EngineSoundPreset category, you'll have to add a CustomSuffix="toto" to it. So the code will look for the wise event Play_Asobo_a320_neo_Jetwhine_toto. This will avoid conflicts with Asobo sounds.


For EngineSoundPresets, you must add custom suffixes because WwiseEvent names are hard-coded. But for a simvarsound, you can name it anything you like.


Regards,
Boris

0 Likes 0 ·
maiusz.kalinowski9 avatar image maiusz.kalinowski9 Boris_ ♦ commented ·
You helped of course Boris earlier. It works. Thanks again.
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.