0
SoundPlayer my_wave_file = new SoundPlayer(Properties.Resources._01);
my_wave_file.Play();

Above is my code for the wav file to play. I want it to play when I press the letter 'Q' on the keyboard while it is loaded up on the form load doing nothing.

Purpose is to make a piano if that helps. So I'm going to assign each letter with a different wav file.

I'll also accept any other ways to do this.

jackneedshelp
  • 137
  • 1
  • 14

0 Answers0