Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sat Mar 22, 2008 9:42 pm Post subject:
QWERTY / Jammer Keyboard Mapping Question Subject description: How should I map my QWERTY Keyboard to be like a Jammer? |
|
|
Hi, I've just written a fun program called Synth Lab that models a modular synth in software. Recently I added keyboard input to the program, playing a sinusoid with different frequencies depending on which key you press.
The program receives a number corresponding to each key. "a" is 3, "b" is 4, "c" is 5, etc. and the number keys plus most other keys are also mapped. I would like to make a translation table that maps something kind of like a Jammer keyboard layout into the standard QWERTY keys. The problem is, I am such a music amateur that I don't understand notes designated by letters, only frequencies and MIDI notes.
So what I am looking for is the information of that translation table. The "a" key should be what MIDI note number? The "b" key should be what MIDI note number, etc. Thanks in advance for your help. |
|
MusicScienceGuy
Joined: Jun 22, 2007 Posts: 97 Location: Vancouver, Canada
|
Posted: Sun Mar 23, 2008 1:03 pm Post subject:
Re: QWERTY / Jammer Keyboard Mapping Question Subject description: How should I map my QWERTY Keyboard to be like a Jammer? |
|
|
Inventor wrote: | ... So what I am looking for is the information of that translation table. The "a" key should be what MIDI note number?.... |
No problem, it's indeed fiddly to set up said table, so I'll look up the translation table I created and post it, later today, to save you the trouble.
Ken. ....
Here it is.
The translation I used, from PC keyboard key number to Midi Key number is ...
8,78;
9,78;
39,72;
44,61;
45,82;
46,63;
47,65;
48, 80;
49, 62;
50, 64;
51, 66;
52, 68;
53, 70;
54, 72;
55, 74;
56, 76;
57, 78;
59, 70;
61, 84;
73, 71;
91, 77;
93, 79;
97, 52;
98, 55;
99, 51;
100, 56;
101, 61;
102, 58;
103, 60;
104, 62;
105, 71;
106, 64;
107, 66;
108, 68;
109, 59;
110, 57;
111, 73;
112, 75;
113, 57;
114, 63;
115, 54;
116, 65;
117, 69;
118, 53;
119, 59;
120, 49;
121, 67;
122, 47;
With this, the G key sounds a middle C, once you have the map set up, it's easy to shift it around - just add or subtract uniformly from the second column's values. |
|