improve details of MIDI Input

This commit is contained in:
josc146
2023-11-30 11:57:52 +08:00
parent 68c70a362b
commit cbe299583b
2 changed files with 11 additions and 2 deletions

View File

@@ -487,7 +487,7 @@ const AudiotrackEditor: FC<{ setPrompt: (prompt: string) => void }> = observer((
}
}
}
const result = globalMessages.map(m => midiMessageToToken(m)).join('');
const result = ('<pad> ' + globalMessages.map(m => midiMessageToToken(m)).join('')).trim();
commonStore.setCompositionSubmittedPrompt(result);
setPrompt(result);
}}>