PC Keyboard to midi in a special Way
Hi,I surfed the internet for this without a result.
My Idea is to control a Midi-Signal with my PC-Keyboard.
And this is the way it should be controlled:
48 Keys on my keyboard should controle 32 Tones / Midisignals.
But these 48 Keys are divided in 6 groups.
these 6 groups are controlled by 6 other keys(group on or off).
so I push the tones on the 48 keys and use the 6 "control-keys" to decide which groupe i want to hear.
Also it would be nice to have the space key as "sustainpedal"
youtube.com/watch?v=DmOXDhsmSec
...
I hope its easy to understand. maybe its possible to realise my idea with MAX.
my email is: keytomidi@oleco.net
thanks for helping
sorry for my german english
It is definitely possible to realize this idea in Max. I'm not sure how new you are to Max, but the Max tutorials (any dealing with keyboard input and MIDI input) should show you all the objects you need.
Tonight after I get back from some rehearsing, I can give some more specific advice if you'd like.
Before I could go into detail about what you should do to program this in Max, I want to make sure I understand your goal.
Normally when I mapped my PC keyboard to MIDI, I would use row of 12 keys (1 through =) to represent a chromatic scale (pitch level, duration, and timbre parameters controlled by the other keys). In this setup, I would have NOTE-ON happen when I pressed the key, and NOTE-OFF when I would release the key.
If I understand your idea correctly, you want to chose pitches with the main groups on the keyboard, and then send a NOTE-ON/NOTE-OFF for each group when you pressed/released the groups key on the number pad?
How would you want the note selection in each group to work? Do you want to be able to pick one note at a time per group? or do you want to have each key toggle on or off its note? for example: I could press keys "1", "2", and "3" and all three pitches would sound when I sent a NOTE-ON for that group--then if I press "2" again, it would turn that off and now only "1" and "3" would sound when I sent a NOTE-ON for that group.
Have a look at the patch linked to below which uses the computer keyboard as a MIDI controller keyboard. It uses the [key] and [keyup] objects to detect keypresses and [coll] to output the desired midi notes. I hope it is helpful.
lh
Send your values from [key] and [keyup] through sprintf $c. This will output the letter/number instead of the ASCII value and is way easier to deal with:
sel q w e r t y
You still need to use ASCII values for non-printing characters like space, ESC, return, backspace, Tab, and the arrow keys.
It schould be similar to a stringed instrument
so i want only the highest note in each group.
some of the 48 notes are used twice because each group is a string.
the Keyboard shortcuts are variable and it need not be the space-key.
can i use the numberblock and the numbers over the letters for diffrent commands?
thanks for helping