Tree @main (Download .tar.gz)
isomorphic keyboard explorer
The keyboard can be played via the computer keyboard (for the most part), or by clicking on buttons. Alternatively, an external MIDI controller can be connected via WebMIDI (Chromium-based browsers only currently). The virtual keyboard will light up the corresponding button when a note is played.
Using the dropdown menu various musical scales can be highlighted on the keyboard. The keys outlined in white make up one octave of the selected scale. The scale can be transposed to any starting note by clicking "set offset" and then playing the intended root note. Notes that are not on the scale at all are dimmed.
Next to the keyboard, there is an "interval visualizer" that shows all the keys currently pressed. The lowest note currently pressed is always shown at the bottom of the range. All other notes are shown above it (and wrapped down to the same octave as the root note if necessary). There is a tone/semitone scale behind the notes, and each note shows the offset in semitones from the root note next to it.
Whether by pressing keys or clicking buttons, the keyboard sends out MIDI Note events via WebMIDI. In a compatible browser, this means that it can be used to play synths such as the following:
git clone https://git.s-ol.nu/isomorphic-kb-explorer.git
- flex toolbar s-ol 6 months ago
- move MIDI settings in toolbar, reorganize s-ol 6 months ago
- simpler key styling s-ol 6 months ago
- add various labeling schemes s-ol 6 months ago
- fix clicking keys s-ol 6 months ago
- toolbar, focus, editable size s-ol 6 months ago
- add README s-ol 8 months ago
- options styling s-ol 8 months ago
- remove redundancy s-ol 8 months ago
- add scale highlighting s-ol 8 months ago