diff --git a/src/App.tsx b/src/App.tsx
index 5a4c43c..c6536e1 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -38,10 +38,8 @@ function App() {
isPlaying={studio.sequencer.isPlaying}
isStarting={studio.sequencer.isStarting}
hasBeats={studio.sequencer.beats.length > 0}
- selectedBeat={studio.sequencer.selectedBeat}
onTogglePlayback={studio.sequencer.togglePlayback}
onAddInstrument={studio.addSound}
- onChangeBeatPitch={studio.sequencer.changeBeatPitch}
/>
)}
diff --git a/src/components/BeatLoopPanel.tsx b/src/components/BeatLoopPanel.tsx
index 71b272c..d0713df 100644
--- a/src/components/BeatLoopPanel.tsx
+++ b/src/components/BeatLoopPanel.tsx
@@ -4,6 +4,7 @@ import { trash } from 'ionicons/icons';
import { BeatSelectionHint } from './BeatSelectionHint';
import { SampleLegend } from './CategoryLegend';
import { CircularTimeline } from './CircularTimeline';
+import { PitchControl } from './PitchControl';
import { SoundRingSelector } from './SoundRingSelector';
import { TempoControl } from './TempoControl';
import { TimeSignatureSelector } from './TimeSignatureSelector';
@@ -98,6 +99,10 @@ export function BeatLoopPanel({ sequencer, soundPalette }: BeatLoopPanelProps) {
)}
+
Promise;
onAddInstrument: (instrumentId: InstrumentId) => void;
- onChangeBeatPitch: (beatId: string, pitchSemitones: number) => void;
}
export const TransportBar = memo(function TransportBar({
isPlaying,
isStarting,
hasBeats,
- selectedBeat,
onTogglePlayback,
onAddInstrument,
- onChangeBeatPitch,
}: TransportBarProps) {
return (
@@ -38,7 +32,6 @@ export const TransportBar = memo(function TransportBar({
{isStarting ? 'Starting' : isPlaying ? 'Pause' : 'Play'}
-
diff --git a/src/styles.css b/src/styles.css
index cec47fe..44eb3c5 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -942,12 +942,12 @@ ion-popover.instrument-picker-popover {
.pitch-control {
display: flex;
- min-width: 145px;
- max-width: 230px;
- flex: 1 1 160px;
+ width: 100%;
+ min-width: 0;
+ max-width: none;
flex-direction: column;
gap: 1px;
- margin-left: auto;
+ margin: 8px 0 0;
}
.pitch-control-heading {