Question Piano notes in VB?

StarKiller512

Member
Joined
Nov 15, 2012
Messages
13
Programming Experience
1-3
This may be out of the blue but here goes.

Is it possible to create a piano-like application in vb? What i mean by piano-like is, when the user presses a certain key on the keyboard it would play a certain note, with sound. How would someone go about coding this? I'm really interested.
 
Handle the KeyDown event of the form or an appropriate control and then call Console.Beep to play a sound with a particular frequency. You might like to follow the Blog link in my signature and check out my post on Keyboard Events for a bit of relevant information.
 
Back
Top