Click here to Skip to main content
15,911,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My project reads data representing music notes, and the music notes are read parallel can be chords (two notes at same time).

I need to show button keys being pressed on a piano keyboard graphic user interface that looks like a piano keyboard press at same time , that correspond to the notes.

So, at one time, how can I trigger multiple events to make the keys look pressed ?

Please help me? Thanks for your help !
Posted
Updated 18-Sep-11 2:41am
v5
Comments
Smithers-Jones 17-Sep-11 14:02pm    
Help with what? You haven't asked a specific question, only described what your project should do.
Herman<T>.Instance 17-Sep-11 14:21pm    
read about delegates and events

1 solution

Are you saying: you have a user-interface that simulates a Piano keyboard, and you want to read some file and then show, graphically, in the UI, the notes being "held" which would 'mirror' the 'chord' read in the file ?

If that's the case, you don't want to be using Buttons, but bit-maps, imho.

You need to make this question much more specific. Are you using a touch-screen device here, or do you have a midi-keyboard actually connected here ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900