From 21117736da67338afb85e468b75c17c80c959cd8 Mon Sep 17 00:00:00 2001 From: cvancau Date: Mon, 10 Aug 2026 21:21:14 +0200 Subject: [PATCH] Actualiser src/features/menu/index.jsx --- src/features/menu/index.jsx | 61 +++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/src/features/menu/index.jsx b/src/features/menu/index.jsx index 82412cd..8228e0b 100644 --- a/src/features/menu/index.jsx +++ b/src/features/menu/index.jsx @@ -37,6 +37,7 @@ export default function Menu(props) { const dispatch = useDispatch(); const reader = new FileReader(); const [activeKeyboardId, setActiveKeyboardId] = useState(''); + const [keyboardChannel, setKeyboardChannel] = useState(1); useEffect(() => { // 1. Initialisation des ports MIDI physiques au démarrage @@ -123,7 +124,7 @@ export default function Menu(props) { return ( -
+
{/* 2 boutons Editor / Memory */} @@ -144,9 +145,8 @@ export default function Menu(props) {
- {/* BLOC SÉLECTEURS MIDI */} - -
+ {/* BLOC SÉLECTEURS MIDI */} +
@@ -184,26 +184,41 @@ export default function Menu(props) {
-
- - +
+
+ + +
+
+ + +
-
+
{/* BLOC Patch Name */}