Add app info and instrument controls

This commit is contained in:
Ninosaurier committed 2026-11-15 13:43:06 +01:00
1 parent e23825cdb1
commit 9d8f277971
38 files changed
+4001 -257

No files matched your search

+4 -2
View File
@@ -1,4 +1,4 @@
import type { SoundId } from './sounds';
import type { InstrumentId } from './instruments';
export const STEPS_PER_BEAT = 4;
export const PLAYBACK_SUBSTEPS_PER_STEP = 4;
@@ -24,9 +24,11 @@ export function getPlaybackTickDurationMs(tempoBpm: number): number {
export interface BeatPoint {
id: string;
soundId: SoundId;
soundId: InstrumentId;
/** Position in sixteenth-note steps; fractional values represent microtiming. */
step: number;
/** Pitch offset from the instrument's base note in semitones. */
pitchSemitones?: number;
}
export function getNextAvailableStep(