hey guys ,, i have lap presentation tomorrow on this task ,, and its quite hard for me as am very beginner ,, so someone please can help or give me a example on a easy clear code to solve this proplem
thanks in advance ,,
Lab 3 instructions.
In this lab you shall create your own music instrument. Sounds will be available to a set of
drums but if you want other sounds you can create them on your own or search for free
sounds for example here: http://www.freesound.org/. Maybe you could make the
instrument in this foto ?
The following requirements have to be met for this lab.
To pass the lab:
1. You are not allowed to do a piano.
2. You shall be able to play with the mouse
3. You shall be able to play with the keyboard (for example by using the keys 1, 2, 3,
4, 5...and so on)
4. Each tone shall be represented by one object (that is: the tones shall be defined by
a class, like the Key class in the book)
5. The tone class shall have a method play to play the sound that corresponds to that
tone ( public void play() )
6. The tone class shall have a constructor with at least one parameter (don’t worry,
you will need it because you have to tell which sound that corresponds to the tone)
waiting for u dear programmers :D