fix: use startSubTabPlayback for piano roll recording + pass recTempMidiNotes prop
This commit is contained in:
@@ -9862,7 +9862,7 @@ const App = () => {
|
|||||||
recordingStartTimeRef.current = startTime;
|
recordingStartTimeRef.current = startTime;
|
||||||
setRecordingState('RECORDING');
|
setRecordingState('RECORDING');
|
||||||
setRecTempMidiNotes([]);
|
setRecTempMidiNotes([]);
|
||||||
startTrackPlayback(startTime);
|
startSubTabPlayback(tab, startTime);
|
||||||
startOffsetTimeRef.current = startTime;
|
startOffsetTimeRef.current = startTime;
|
||||||
startAudioTimeRef.current = context.currentTime;
|
startAudioTimeRef.current = context.currentTime;
|
||||||
setIsPlaying(true);
|
setIsPlaying(true);
|
||||||
@@ -15432,6 +15432,7 @@ const App = () => {
|
|||||||
showToast: showToast,
|
showToast: showToast,
|
||||||
midiDevices: midiDevices,
|
midiDevices: midiDevices,
|
||||||
recordingState: recordingState,
|
recordingState: recordingState,
|
||||||
|
recTempMidiNotes: recTempMidiNotes,
|
||||||
onRecord: handleRecordClick,
|
onRecord: handleRecordClick,
|
||||||
selectedMidiInputId: selectedMidiInputId,
|
selectedMidiInputId: selectedMidiInputId,
|
||||||
onMidiInputSelect: handleMidiInputSelect,
|
onMidiInputSelect: handleMidiInputSelect,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user