Initial commit
This commit is contained in:
16
public/types.ts
Normal file
16
public/types.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user