-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Description:
After displaying 4 octaves on-screen (Issue #2 ), the next step is to map each octave to a specific keyboard row on the physical keyboard.
This allows the user to play all 4 octaves using their computer keyboard.
Each row will correspond to one octave as follows:
| Keyboard Row | Octave |
|---|---|
| Number row (1–0) | Octave 7 |
| QWERTY row | Octave 6 |
| ASDF row | Octave 5 |
| ZXCV row | Octave 4 |
Tasks:
- Update event handling logic to detect keypresses from all 4 rows.
- Map keys to their corresponding musical notes and octaves.
- Ensure proper handling of simultaneous key presses.
- Keep the octave range in sync with the dropdown setting.
- Test and verify that sounds play correctly for all octaves.
Expected Outcome:
- All 4 octaves playable simultaneously via keyboard.
- Smooth key-to-note mapping without overlap or lag.
- Works seamlessly with the updated octave range UI.