Question: I need help creating a java program with the following requirements listed below. Please make the code as simple to follow and understand as possible.
I need help creating a java program with the following requirements listed below. Please make the code as simple to follow and understand as possible.

The Play Music program You will also write a program PlayMusic that will create an array list of Chords, fill it with chord values read from a file, and play the chords The data file consists of pairs of lines In each pair, the first line contains a single double value, which is a duration. The second line contains a list of double values, separated by spaces. To parse this file correctly, use this pseudocode Create an empty array list for chord s While stdIn is not empty read a line from StdIn convert to a double value and store in duration read a line from StdIn split into frequency strings, an array of strings create frequencies, an array of doubles the same size as the array of strings in a loop convert each string in frequencystrings into a double and store it in frequencies create a chord object with the duration and frequencies add that chord to the array list of chords end Following that, have another loop that iterates through the array list of chords and prints and plays each one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
