missionpinball / mpf-gmc

Godot-based Media Controller for the MPF pinball framework
MIT License
5 stars 1 forks source link

Support Ducking on AudioStreamRandomizer #7

Open avanwinkle opened 6 days ago

avanwinkle commented 6 days ago

GMC currently does not support ducking audio that is being played from an AudioStreamRandomizer node because ducking requires knowledge of the duration of the audio stream and AudioStreamRandomizer does not expose the randomly-selected stream.

There is a PR open (https://github.com/godotengine/godot/pull/88437) to expose the stream, and if/when that merges and is released, the ducking code will be able to retrieve the stream and duck it appropriately.

This ticket is to track the progress of that PR and update the ducking after it merges.