0

Can anyone help me to create a piano in c++

I wanna create a piano in c++ which can be played by pressing a key on keyboard I have created a sound Programme but it run automatically I want to declare each sound as a key from keyboard

20th Aug 2017, 4:29 AM
Bhavik Keswani
Bhavik Keswani - avatar
1 Answer
0
try something like this (pseudo code): if(key.pressed == ...){ play.sound(...); }
20th Aug 2017, 10:29 AM
Cook1ee