OPEN_SOURCE_INITIATIVE
Walls Have Ears
Dynamic audio occlusion for FoundryVTT. Automated sound muffling that reacts to walls and token positioning without impacting performance.
Architectural Optimization
FoundryVTT's native sound effects are powerful but often require manual toggling or static settings. **Walls Have Ears** automates this by calculating audio occlusion dynamically based on the environment.
To avoid the "module bloat" that causes lag, we implemented a **muffling change cache**. The system only updates audio parameters when the resolved state actually changes, eliminating redundant mathematical operations and engine queries.
// LOGS: MUFFLING_ENGINE
[0.001ms] Parameter_Resolved (Token_ID: 0x4)
[0.000ms] Cache_Hit: Muffling_State_Unchanged
[0.000ms] Operation_Skipped (Redundant_Update_Avoided)
CPU_IMPACT: < 0.01%
LATENCY: NEGLIGIBLE
Automated Occlusion
No more manual "muffled" toggles. Sound levels adjust automatically as tokens move behind walls or into different rooms.
Levels Support
Full integration with FoundryVTT's native verticality and level systems. Sound respects height and floor differences seamlessly.
Lightweight Engine
Designed for long, 6+ player sessions. Optimized queries ensure smooth performance even on lower-end machines.
Free & Open Source
Walls Have Ears is a SebaSOFT Open Source Initiative. We believe in providing high-quality, clean-coded utilities that improve the ecosystem for everyone.