Question: 7 Lab Task 2 : Play a Song with our Random Rhythm Now we have a random rhythm , but a score is nothing without
Lab Task : Play a Song with our Random Rhythm
Now we have a random rhythm but a score is nothing without a fun musical tune. We want our RandomMelody class to allow users
to add some musical notes.
Create a addASong method
Let's add this new method to our RandomMelody class.
The addASong class takes parameters:
An integer representing the instrument.
An integer array representing the pitch list
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
