Document gain and FadeOut
This commit is contained in:
@@ -87,6 +87,15 @@ Play audio
|
|||||||
* beats - initials beats in a bar (optional)
|
* beats - initials beats in a bar (optional)
|
||||||
* leadin - time in seconds before the first beat (optional) (not yet implemented)
|
* leadin - time in seconds before the first beat (optional) (not yet implemented)
|
||||||
* loop - (True/False) loop at end of playback (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
|
### SetTempo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user