Class AudityMusicConvention
The parameter-name contract of a music graph: what game code calls, regardless of whether the graph was hand-authored or (later) lowered from a dedicated music asset. Hand-authored graphs follow it by naming their members like this; a future music authoring surface must emit exactly these names so game code written today survives its arrival unchanged. Deliberately minimal: layer axes are author-named Float members (no blessed “intensity” - one scalar driver is one soundtrack’s policy, not the model), and Out members are a Sub Graph composition concept, not part of a playable root’s contract.
Assembly: DarkEffekt.Audity.Runtime
Section titled “Assembly: DarkEffekt.Audity.Runtime”public static class AudityMusicConventionFields
Section titled “Fields”StateParam
Section titled “StateParam”Int member steering the piece’s State Route: SetInt("state", n).
public const string StateParam = "state"NoneState
Section titled “NoneState”Row 0 of a music State Route is silence by convention - SetInt("state", NoneState) is the musical stop: the current state leaves on its exit
grid, departs/endings ring, then nothing plays until the next state.
public const int NoneState = 0