FadeMusic()
Music: Fade
Fade the current music to a normalized volume, waiting for the fade routine.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Target Volume volume | Normalized target volume: 0 is silent, 1 is full volume. Range: 0.0 to 1.0. | 0.0 |
| Duration (seconds) duration | Time in seconds for this action. Read its timing note before assuming it waits. Range: 0.0 to 60.0. | 1.0 |
Timing. Waits for the fade routine.
await FadeMusic({"volume": 0.0, "duration": 1})In use. Fade to 0 over 2 seconds for a room ending, or to a quieter nonzero level under narration. A zero target stops playback; volume is 0 to 1.
SeekMusic()#
Skip Ahead in Soundtrack
Move playing music to minutes plus seconds.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Minute minutes | Whole minutes; added to Seconds to form a playback position. | 0 |
| Second seconds | Number; decimals allowed. | 0 |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SeekMusic({"minutes": 0, "seconds": 1})In use. Seek to 1 minute 10 seconds to check a cue. This is media playback positioning, not a timeline scheduler or a music crossfade.
