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.
Programming
[Solved] SOLVED: Finch note player
$25
File Name: SOLVED:_Finch_note_player.zip
File Size: 235.5 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.