From 99ddcfbc6ba8483b1d734ce01812be96f81405bd Mon Sep 17 00:00:00 2001 From: Gavan Fantom Date: Tue, 5 Aug 2025 02:45:59 +0100 Subject: [PATCH] Document gain and FadeOut --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 485a66f..4f6ae4c 100644 --- a/README.md +++ b/README.md @@ -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