You've already forked torvalds-GuitarPedal
mirror of
https://github.com/torvalds/GuitarPedal.git
synced 2026-06-15 21:12:09 +00:00
It transfers the tuning data as actual MIDI notes with the cent data using the "pitch bend" range. The tuner on/off is just another GLOBAL_ENABLE_CC byte. Because pitch bending is per-channel - and we want to send multiple notes for the polyphonic case - this sends the tuning data on separate channels, with channel #0 for the chromatic tuning data. This is all possibly horribly wrong. And I think my recent simplifications of the tuning code may have over-simplified things a bit, and it got a bit less reliable and the chromatic one now finds bogus over-tones much too easily. So this all will need tweaking a lot to be useful, but the code *looks* clean. It just doesn't work so well in practice yet. But the MIDI part seems solid (famous last words). Small details. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>