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
for people who just want to have a casual game we can do the following, while still preserving some "accuracy" in term of "notes"
use the qwerty row of the keyboard, to map one by note, there's ~12 keys which is enough to go from DO to DO
"compress" the notes so that all the Do are put together etc.
maybe make the keyboard "bigger" to have only 12 keys on it
when checking we dont check which octave it is, only that it's the right note
it may also be possible to create dedicated songs/exercises that stay on one octave
maybe also possible to add keys to switch one octvate up /down
it should be latter possible to permit the "compression" algorithm to compress further so that to use less keys for very beginner
The text was updated successfully, but these errors were encountered:
I hope this is useful. I think I covered all the corner cases with this rough algorithm.
compress{keyboard keys){
chop off the note_lines on the outside
if keyboard keys < total_note_lines
return
note_lines = get_setof_least_notes
if (!find_note(note_lines[0]){// check if there were note_lines with no notes meaning all of them have none.
while(keyboard keys < total_note_lines || note_lines != 0)
if there were note_lines with 0 notes then sum the note distance of each line and remove the one with the highest sum
}
if keyboard keys < total_note_lines
return
assert(every note_line has at least one note)
while(keyboard keys < total_note_lines){
note_lines = get_set_least_notes
for(int i = 0; i !=note_lines.len; ++i){
check if note_lines[i] is edge if true
merge note_lines[i] notes twards the center
check nabors of note_lines[i]
merge note_lines[i] with nabor that has less notes
}
if keyboard keys < total_note_lines
return
}
perror("could not compress map")
return
for people who just want to have a casual game we can do the following, while still preserving some "accuracy" in term of "notes"
it may also be possible to create dedicated songs/exercises that stay on one octave
maybe also possible to add keys to switch one octvate up /down
it should be latter possible to permit the "compression" algorithm to compress further so that to use less keys for very beginner
The text was updated successfully, but these errors were encountered: