Add support for NTE Guitar mode (chords and frets)
Why is this needed?
Guitar support for NTE was added in #55 / #56, but it only covers the piano mode of the in-game guitar (36 chromatic keys, E3–D#6, 3 rows × 12 keys). The in-game guitar also has a guitar mode, which is not supported yet. Because of that, MIDI files can't be played with the chord strumming or fret-based playstyles.
How the modes work in game
- The button at the top left of the screen switches between piano mode (the one already supported) and guitar mode. The button label shows the mode you will switch to (it says "Modo guitarra" while in piano mode, and "Modo piano" while in guitar mode).
- Inside guitar mode,
Z("Cambiar de modo" / change mode) switches between chords ("Acorde") and frets ("Trastes"). V("Cambiar de timbre" / change timbre) switches between clean sound ("Sonido limpio") and distortion ("Distorsión"). It works in both guitar sub-modes (chords and frets), it is not tied to a specific one.
The missing feature: guitar mode
- In both sub-modes, the 6 strings in the center are numbered 1–6, and strumming up/down works with the mouse buttons.
1. Chord mode ("Acorde")
- A radial wheel with 6 chords per page:
G,Am,Bm,C,D,Em(in the screenshot). - 4 pages, navigated with
R(previous) andT(next).
2. Frets mode ("Trastes")
- A radial wheel with 6 Roman numerals per page:
I,II,III,IV,V,VI(in the screenshot). - 5 pages, navigated with
R/T.
Screenshots
- Chord mode
- Frets mode
Notes
- Guitar mode is quite different from piano mode, because it relies on a wheel selection + mouse strumming instead of single key presses. It may need a different approach for mapping MIDI notes/chords to inputs.
- Possible approach: detect chords in the MIDI and map them to the closest available chord on the wheel.
- Since timbre switching is global, the player could expose it as an option (clean/distortion) before playing.
- This could also fit well with the JSON-based entries planned for
experimental-rewrite.
I'm happy to help test, provide more screenshots/info about the in-game behavior, or contribute if guidance is given.
Proposed solution
No response
Thanks for the detailed explanation and screenshots...
There is already some support for chords in the current implementation, although the detection is still a bit inaccurate. For now, I'll add the available guitar chords to the current configuration so they can be used. I'll look into refining the chord detection in a later update.
Thanks for bringing this up! 💖