java assignment
Have your program read data from a file. The Finch will use the data in the file to play musical notes (make beeping sounds). The file is named Lab5Data.txt and is provided for you on the S:\ drive in the lab assignment folder. The Lab5Data.txt file has sets of 2 integers representing the frequency and duration of musical notes. Use the playTone() method of the Finch class which requires 2 integer values to execute a tone. Notice the data file has some non-integer data which the Finch will ignore. When a non-integer value is read from the file the Finch will turn its beak red for 1 second. While the Finch is playing notes the beak is green.
11 years ago 20
Answer(1)
Purchase the answer to view it
NOT RATED
- sourcefiles.zip
Bids(1)
other Questions(10)
- for expert_researcher
- MATLAB - pre lab hw
- W2 Assignment "DST Systems Case Study"
- Trace Evidence & Specialized Personnel
- need a 1250 essay written
- Completed the 20 problems
- acct505 Posted Course Project A-Instructions
- 1 page essay
- 1. Juana threw five darts at a dartboard. The possible scores on the target were 2, 4, 6, 8, and...
- i need it done asap