bramblewick.package
This package holds more than this page lists. See all of its files in its world.
README.md
music
Bramblewick's score, on Soundstage. One music set, bramblewick, with a state per season (spring, summer, autumn, winter) plus night, market and fair. Every track is original, generated for this game with the engine's audio generation service (/source/generated/audio).
The director reads the shared clock every two seconds: night from 20:30 to 5:30, otherwise the season's theme. The game raises flags for what is happening: Music.setFlag("market", true) while the market stall is open, "fair" once the Harvest Fair opens. Soundstage crossfades and shares the music, so every player hears the same piece.
M.sfx(key, at?, volume?) plays one of the game's sounds: marketBell, saleChime, harvestPop, fairFanfare, seasonTurn, millWheel.
API: start(), stop(), wanted(), setFlag(name, on), setOverride(state?), refresh(), sfx(key, at?, volume?), SFX.