nicroto / viktor

Synthesizer built on the WebAudio API.
http://nicroto.github.io/viktor/
MIT License
509 stars 93 forks source link

Qwerty Keyboard Mapping Incomplete #33

Closed es314159 closed 6 years ago

es314159 commented 6 years ago

Is it just me or is there a missing fifth of notes right in the center when using a qwerty keyboard?

nicroto commented 6 years ago

Just checked the keyboard and there doesn't seem to be anything wrong with it. Please elaborate a bit more on the issue you are having.

P.S. Keyboard starts at z (being the first C on the virtual keyboard) and then there is a second row starting at q (being 2 octaves up from the first C on the virtual keyboard).

es314159 commented 6 years ago

Yes, the notes on the first row start at 'z' and go all the way to the key with '/' or '?' which is an E above the C-one octave up from the first note. Where are F,G,A,B above this E ? Those are the ones I can't find. The 'q' is two octaves up from the 'z'. That's the C above the missing FGAB.

nicroto commented 6 years ago

It's a design decision. I chose to expose 2 separate octaves (1 low and 1 higher). Not enough keys to connect those in-between, but having two spaced octaves gives more flexibility to what can be played. (or at least that's what I assumed at the time, I guess)