I need a code or script that would...
Synchronize the computer keyboard key to an MIDI note...
So basically, I need some help getting started on my program. I'm doing a piano computer keyboard thingy in which the user presses a computer key and a MUSICAL note playS. It's kind of like Garage Band on Mac.
So can anyone help?
Thanks in advance!
Project Help~ Key synchronization
Started by
Guest_Aero_*
, Oct 13 2006 11:16 AM
2 replies to this topic
#1
Guest_Aero_*
Posted 13 October 2006 - 11:16 AM
Guest_Aero_*
|
|
|
#2
Posted 13 October 2006 - 11:24 AM
hmm, have you already mapped out which keys will play what? How are you producing the MIDI sounds?
It sounds like you would just need to capture the OnKeyDown event. Have an array of keys on the keyboard with the corresponding MIDI key and thats it! Post your MIDI code and I'll help you do the mapping.
It sounds like you would just need to capture the OnKeyDown event. Have an array of keys on the keyboard with the corresponding MIDI key and thats it! Post your MIDI code and I'll help you do the mapping.
Void
#3
Posted 14 October 2006 - 03:06 AM
Yeah its quite simple!


Sign In
Create Account

Back to top










