Skip to content

API Type GridSpec

github-actions[bot] edited this page Nov 29, 2026 · 2 revisions

Type Alias: GridSpec

type GridSpec = 
  | "beat"
  | "bar"
  | {
  every: "beat" | "bar";
  n: number;
};

Defined in: src/engine/core/musicEvents.ts:14

"beat", "bar", or every n-th: { every: "bar", n: 2 } (n 2..64). Wwise's grid; FMOD's quantisation.

Clone this wiki locally