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

+5 -5
View File
@@ -1,13 +1,13 @@
import { memo } from 'react';
import { getLoopPositionPercent } from '../domain/timeline';
import { SOUND_BY_ID } from '../domain/sounds';
import { INSTRUMENT_BY_ID } from '../domain/instruments';
import type { BeatPoint } from '../domain/sequencer';
import type { SoundId } from '../domain/sounds';
import type { InstrumentId } from '../domain/instruments';
interface BeatSelectionHintProps {
selectedBeat: BeatPoint | undefined;
focusedSoundId: SoundId | null;
colorBySoundId: Partial<Record<SoundId, string>>;
focusedSoundId: InstrumentId | null;
colorBySoundId: Partial<Record<InstrumentId, string>>;
totalSteps: number;
}
@@ -26,7 +26,7 @@ export const BeatSelectionHint = memo(function BeatSelectionHint({
className="hint-swatch"
style={{ backgroundColor: colorBySoundId[soundId] }}
/>
{SOUND_BY_ID[soundId].label}
{INSTRUMENT_BY_ID[soundId].label}
{selectedBeat && (
<>
<span className="hint-separator">·</span>