Add emit initial delay option for widget audio emit

This commit is contained in:
Jage9
2026-02-28 03:21:55 -05:00
parent 3bd4f35653
commit 294ccfa902
8 changed files with 44 additions and 2 deletions

View File

@@ -141,6 +141,7 @@ This is behavior-focused documentation for item types and their defaults.
- `emitVolume=100`
- `emitSoundSpeed=50`
- `emitSoundTempo=50`
- `emitInitialDelay=0`
- `emitLoopDelay=0`
- `emitEffect="off"`
- `emitEffectValue=50`
@@ -154,6 +155,7 @@ This is behavior-focused documentation for item types and their defaults.
- `directional=false`
- `emitSoundSpeed=50`
- `emitSoundTempo=50`
- `emitInitialDelay=0`
- `emitLoopDelay=0`
### Use
@@ -167,6 +169,7 @@ This is behavior-focused documentation for item types and their defaults.
- `emitVolume`: integer `0..100`
- `emitSoundSpeed`: integer `0..100` (`0=0.5x`, `50=1.0x`, `100=2.0x`) for speed/pitch
- `emitSoundTempo`: integer `0..100` (`0=0.5x`, `50=1.0x`, `100=2.0x`) for tempo
- `emitInitialDelay`: number `0..300` with `0.1` step/precision; delay in seconds before emitted audio starts after enable
- `emitLoopDelay`: number `0..300` with `0.1` step/precision; delay in seconds between each emitted loop playback
- `emitEffect`: `reverb | echo | flanger | high_pass | low_pass | off`
- `emitEffectValue`: number `0..100` with `0.1` precision