yashton / terpstrakeyboard

Virtual Isomorphic Music Keyboard
https://keyboard.snelgrove.science
GNU General Public License v3.0
9 stars 3 forks source link

Add transpose/panning #11

Open yashton opened 4 years ago

yashton commented 4 years ago

https://github.com/wcgbg/terpstrakeyboard/issues/3#issue-299094015

One extreme useful feature would be the ability to pan the playing field, so that 1/1 can freely move in any direction (as opposed to being stuck in the center). Ideally, panning would be visually controlled from the keyboard view. A button available under the "Back" arrow would disable the playing field and turn it into a pan anchor. Panning will be achieved by dragging the playing area from any location: with one finger on touch-screen devices, and by holding left mouse button while dragging on legacy devices. Zooming, that is, controlling visually the "Hex Size (pixels)" setting, would be achieved from the same button but by pinching with 2 fingers on touch-screen devices, and by scrolling the mouse wheel while holding left button pressed on the others. However, in the beginning, a horizontal+vertical double control on the Settings page (or just an url hack!) only for panning would make do. Moving units could be pixels, or hexagon units. Programming steps: implement panning feature add visual control for pan & zoom