Document gain and FadeOut

This commit is contained in:
2025-08-05 02:45:59 +01:00
parent 18f4a6168f
commit 99ddcfbc6b

View File

@@ -87,6 +87,15 @@ Play audio
* beats - initials beats in a bar (optional)
* leadin - time in seconds before the first beat (optional) (not yet implemented)
* loop - (True/False) loop at end of playback (optional) (not yet implemented)
* gain - gain to apply to audio in dB (optional)
### FadeOut
Trigger a fade out of the currently playing audio
* at - time to start fading
* db - dB of attenuation to reach before stopping (optional, defaults to 30dB)
* duration - number of seconds to reach the required attenuation (optional, defaults to 10 seconds)
### SetTempo