This is a program that allows user to play different types of music with simple and user-friendly interface. It has two variations of music which are Jazz and Blues and it also improvise itself behind the screen. How the design is completed and implemented is as follow.
Documentation
The structure of the design is shown in [Figure 1] and the functions descriptions in [Table 1]
[pic]
Figure 1
|Function Name |Input Parameters |Return Values |Description |
|main |None |Integer, error level passed to |Driving functions, always returns|
| | |environment |to zero |
|display_welcome |None |None |Display welcome message and key |
| | | |usages |
|play_jazz |Key [j] (int) |Integer, a set of notes to be |Apart form playing the set notes,|
| | |played. |the clips can be improvised by |
| | | |using randomized array lists to |
| | | |vary the chords. |
|play_blues |Key [b] (int) | | |
|random_number |jscale_note (array) |Integer, the