16 lines
269 B
TypeScript
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;
|
|
} |