Jump to content

Project Help~ Key synchronization

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Guest_Aero_*

Guest_Aero_*
  • Guests
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!

#2
Void

Void

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 411 posts
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.
Void

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yeah its quite simple!