Log inGet started
Package

AudioDirector.component

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

AudioDirector

Plays MMW. Lives on Audio/AudioRig, which audio.sceneModule builds together with one Snd_<key>_<n> child per voice of game.audio.sounds (non-autoplaying Audio sources).

  • Music: lute-and-drum title theme in title, driving match track from the entrance on, ducked under the announcer and during pins; a victory sting on matchEnd.
  • Crowd: murmur bed + cheering loop whose level follows the wrestlers' hype and a transient excitement kicked up by big moments; cheers, oohs, boos, gasps and pops on events.
  • Fight SFX on hit/whiff/slam/wrestlerState/getup/finisher, bronze bell on bell (start vs end by phase), referee ONE/TWO/THREE on pinCount.
  • Announcer: a one-at-a-time queue fed by Bus events and by the match slice's announce text.

Reads only game.bus (events, Bus.match().phase, wrestler hype) and game.rules. Check it from audio.voices(): every cue is a Snd_<key>_<n> entity, so a playing voice names its sound.