Resource icon

OBS Lua Audio Transition v1.1

This LUA script that adds a source type useful for controlling audio sources during a scene transition.

Audio Transitions can mute, unmute, fade, ramp, save or set the volume of an audio source when it enters or leaves the program scene:
-Mute and unmute are self-explanatory and instantaneous
-Fade adjusts the volume up or down in gradual steps, unmuting if necessary
-Ramp adjusts the volume up after silencing, first
-Set adjusts the volume without the gradual fade
-Restore returns the audio source to its most recently saved volume and mute state

Audio Transitions have customizable properties to designate which audio sources they control and what effects they apply. Both ramp and fade accept a customizable rest volume and transition duration. When entering a program scene, there is an option to restore the volume and mute state upon leaving.

The order that Audio Transitions run can produce different effects, especially when they involve the same audio source. They are initiated in the normal scene item order (e.g. bottom-to-top, as listed in the source dock) with the leaving scene processed before the entering scene. Concurrent fade effects for an audio source are avoided by successively updating in-progress faders for the same audio source. In other words, the last one takes precedence.

1742508076720.png

*************************************************************************
Contact dennis@musefeed.net for support. Suggestions and other feedback welcome.
*************************************************************************​
  • Like
Reactions: graynoise
Author
dqm
Downloads
199
Views
781
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from dqm

Latest reviews

Well done! I needed to transition the audio for music from scene to scene. Works great so far.
Top