Files
ag-beats/src/types.ts
2025-12-20 18:53:49 +02:00

16 lines
269 B
TypeScript

export interface Instrument {
name: string;
sampleUrl?: string;
}
export type Grid = boolean[][];
export type BassLineGrid = string[][];
export interface BeatData {
tempo: number;
steps: number;
grid: Grid;
mutes?: boolean[];
bassLine?: BassLineGrid;
}