A simple Lua script which plays a .wav sound whenever specified keybind was activated.
Originally script was specified only for Replay Buffer save event and it works not on Save button press, but when replay was saved in file. So there was delay between press and sound effect.
Now you can launch sound not on event, but on keybind, which solves delay problem.
-
Download script and change PROP_AUDIO_FILEPATH to a path to the sound of your choosing. By default it's Windows Hardware Remove sfx
-
Launch OBS -> Tools -> Scripts -> +
This Lua script was downloaded from https://gist.github.com/DareFox/fd91bab3b8b5f26601f5e47ae2cf9f07
Credits:
- snakecase (https://gist.github.com/snakecase/e816384a071cec31efbb4b9e429c108d)
- upgradeQ (https://gist.github.com/upgradeQ/b2412242d76790d7618d6b0996c4562f),
- gima (https://gitlab.com/gima/obsnotification)
Thank you guys!
Thanks for putting this together. Unfortunately it's not working for me either on Win11 64-bit 22H2. Tried the original sound path shown above and another custom one, but no luck. Any ideas? I'm on OBS 28.1.2