This commit is contained in:
@@ -56,7 +56,6 @@ export default function Menu() {
|
|||||||
registerPatchReceiver((rawSysExBytes) => {
|
registerPatchReceiver((rawSysExBytes) => {
|
||||||
try {
|
try {
|
||||||
console.log('[MIDI] longueur SysEx:', rawSysExBytes.length);
|
console.log('[MIDI] longueur SysEx:', rawSysExBytes.length);
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
'[MIDI] RAW:',
|
'[MIDI] RAW:',
|
||||||
Array.from(rawSysExBytes)
|
Array.from(rawSysExBytes)
|
||||||
@@ -104,6 +103,9 @@ export default function Menu() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (file) {
|
if (file) {
|
||||||
dispatch(parameterFromFile(return_store_from_file(file)));
|
dispatch(parameterFromFile(return_store_from_file(file)));
|
||||||
|
if (!parsedStoreData.patch.name.trim()) {
|
||||||
|
parsedStoreData.patch.name = '------------';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, [file, dispatch]);
|
}, [file, dispatch]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user