You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This visualizer already looks very cool, but i think it could be even cooler if the notes would shift according to the pitch wheel (and the pitch bend range).
Suggestion
Assuming that the pitch bend ranges from -8192 to 8192, my suggestion would be shifting the note by:
pitch bend / 8192 * pitch bend range * key width
Example:
pitch bend range is 2 semitones (2 keys)
The pitch bend value is 4096
that gives us 4096 / 8192 = 0.5
0.5 * 2 semitones = 1
so the note would shift 1 key to the right
Test MIDI file
This is a midi file which demonstrates the pitch bend and pitch bend range. bendy.zip
Possible implementation
I've implemented the described pitch visualization in my program. If you play the midi there, you can see my implementation the line of code responsible
Alternatives
The whole keyboard could shift, or the note could change colors.
The text was updated successfully, but these errors were encountered:
The idea
This visualizer already looks very cool, but i think it could be even cooler if the notes would shift according to the pitch wheel (and the pitch bend range).
Suggestion
Assuming that the pitch bend ranges from -8192 to 8192, my suggestion would be shifting the note by:
pitch bend / 8192 * pitch bend range * key width
Example:
Test MIDI file
This is a midi file which demonstrates the pitch bend and pitch bend range.
bendy.zip
Possible implementation
I've implemented the described pitch visualization in my program. If you play the midi there, you can see my implementation the line of code responsible
Alternatives
The whole keyboard could shift, or the note could change colors.
The text was updated successfully, but these errors were encountered: