Skip to content

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.

Declaration
public static class AudityMusicConvention

Int member steering the piece’s State Route: SetInt("state", n).

Declaration
public const string StateParam = "state"

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.

Declaration
public const int NoneState = 0