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

MikeNolan avatar image
MikeNolan asked MikeNolan commented

Adding custom Lvar RTPC control to Aux Sends on parent Actor-Mixer?

Hi,

Apologies if the title is slightly confusing. What I'm looking to do is add a custom RTPC controller to my parent actor-mixer objects (not on the individual audio objects themselves), however I've not been able to do so.

To be specific, I have created a cockpit reverb shareset as a game-defined aux send, and I would like to automate the send/reverb gain to reduce significantly when the canopy is open. To achieve this, I'm attempting to pass in a custom Lvar RTPC, on the 'instruments' actor-mixer for example, which modulates the send gain.

Whilst the reverb and send works in-game as expected, I can't get the RTPC controller to work. Is it possible to achieve this? Or can custom RTPC's only be passed through to individual audio events, not actor-mixers with no attached events?

Thanks in advance,
Dan K
FlyingIron Simulations

sound
10 |10000

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

Yoanito avatar image
Yoanito answered MikeNolan commented

Hello @MikeNolan

It is possible, you can send RTPC to control your Aux send. One thing to know is WWiseRTPC send the value of your Lvar/simvar on a specific node. So if you do this :

Sound WwiseData="true" WwiseEvent="lighting_knob_generic" ViewPoint="Inside">
 <WwiseRTPC Localvar="My_Lvar" RTPCName="My_Lvar"/>
 </Sound>

Only the lighting_knob_generic can have its aux send modulated by My_Lvar If you want that all your instruments can be modulated by My_Lvar, you must add WwiseRTPC on each event.

Hope that can help, best regards,
Yohan

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.

MikeNolan avatar image MikeNolan commented ·
Hi @Yoanito,

Understood - Thanks so much for taking the time to answer, that saves me alot of debugging.

Cheers,

Dan

1 Like 1 ·
Flysimware avatar image
Flysimware answered Flysimware edited

If you want any sound to change volume (or other effects) based on how far a door is open. That I have achieved using RTPC. See my image samples.

I added rptc volume to several engine WwiseEvent's and also for wind.

screenshot-194.jpg

This is the wind sound that also uses the RTPC to control volume.

screenshot-195.jpg

For the engines you add the RTPC in the same code they were in the WwiseEvent's.

screenshot-196.jpg



screenshot-194.jpg (236.6 KiB)
screenshot-195.jpg (101.4 KiB)
screenshot-196.jpg (767.4 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.

Flysimware avatar image
Flysimware answered MikeNolan commented

To add a new RTPC click the new button.

screenshot-199.jpg

What it looks like when creating a new RTPC by choosing the location and creating a name.

screenshot-198.jpg

Choose the effect type for Y axis then add the RTPC from where you added it for the X axis.

screenshot-197.jpg


screenshot-199.jpg (134.6 KiB)
screenshot-198.jpg (216.9 KiB)
screenshot-197.jpg (242.9 KiB)
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.

MikeNolan avatar image MikeNolan commented ·
Hi FlySimWare,


Thanks for your reply! I'm well versed in using custom RTPCs all through my projects, the trouble I'm having is applying them specifically to the send channels (both user defined and game-defined auxillary sends).

I seem to be able to drive them with the preexisting RTPCs, however I can't get custom ones to work here as there is nowhere in the sound.xml to define a Wwise RTPC specifically for a send as far as I can tell

Thanks mate,

Dan

0 Likes 0 ·

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.