16BarLogicGame is a Unity/FMOD adaptive music system built around a seven-state finite state machine (Idle, Explore, Combat, Anxiety, Epic, Win, Die). Each state drives a dedicated FMOD transition loop, and all state changes are held in a queue until the current bar boundary is reached — the system reads FMOD's timeline position, calculates bar length from BPM, and fires the transition at the exact bar edge.
Priority locking prevents lower-intensity states from interrupting high-priority states (e.g., Anxiety blocks queued Explore or Combat transitions until it resolves). Custom timers govern nuanced exit conditions, such as delaying Combat exit until a configurable post-encounter window elapses.
The repo includes a playable Unity scene with combat and spawner scaffolding for exercising all state transitions. It targets Unity 2022.3 with FMOD Studio integration.
Motif is a browser-based adaptive soundtrack workstation aimed at game composers who need structured, intentional score authoring rather than procedural generation. It covers the full composition pipeline: clip sequencing with music-theory transforms, multi-oscillator synthesis with LFO modulation, sample instrument building, scene layering with intensity curves, and automation lanes.
The tool handles the game-integration layer directly: trigger bindings map game state to scenes, deterministic resolution picks the correct cue at runtime, and a runtime-pack exporter serializes the project for engine consumption. MIDI import/export and 24/32-bit WAV export at standard sample rates are also included.
Everything runs client-side in the browser with no server, no telemetry, and no cloud sync. The project is a TypeScript monorepo of 16 npm packages under the @motif-studio scope, tested with 1,116 unit tests covering schema validation, playback, synthesis, effects, and studio integration.
zzfxm-rs is an unofficial Rust port of ZzFXM, the minimal tracker-style music renderer originally written in JavaScript by Keith Clark and Frank Force. It takes ZzFX instrument definitions, reusable patterns, a sequence, and a BPM and produces stereo f32 PCM output, leaving playback entirely to the caller.
The library targets ZzFXM 2.0.3 compatibility, covering beat timing, channel mixing, stereo panning, fractional note attenuation, end-of-note fades, instrument/note sample caching, and legacy ZzFX instrument behavior. It uses zzfx-rs for instrument synthesis. It also supports loading the compact nested-array format used by JavaScript ZzFXM songs, including JavaScript-style sparse array holes represented as None.
Useful for embedding chiptune-style music in Rust games or demos where binary size and dependency count matter. Caller-provided randomness allows deterministic rendering, and optional Serde support covers serialization needs. Not yet published to crates.io; installed directly from GitHub.