Total refactoring performed

This commit is contained in:
AG
2025-12-20 18:53:49 +02:00
parent e41bb6b588
commit 5877ca3544
29 changed files with 3888 additions and 344 deletions

16
src/types.ts Normal file
View File

@@ -0,0 +1,16 @@
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;
}