<< Chapter < Page | Chapter >> Page > |
Listing 15 also signals the end of the class named AudioGraph01 .
I encourage you to copy the code from Listing 16 through Listing 20 (or use the code that is provided in the downloadable zip file ) . Compile the code and execute it. Experiment with the code,making changes, and observing the results of your changes. Make certain that you can explain why your changes behave as they do.
As mentioned earlier, assuming that you have the Java Development Kit installed on your computer, the zip file that you can download contains all of thefiles necessary to replicate the audio output for all of the functions illustrated by the audio files in the above list . Simply extract the contents of the zip file into an empty folder, execute the ...Solver.bat files to create the data for the functions, and execute the ...Player.bat files to hear the audio for the functions and to write the audio into output audio files of type AU.
When you compile this program, you will probably see the following warnings:
Note: .\PlayerPiano01.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
You can simply ignore those warnings if you choose to do so. Otherwise, you can learn how to eliminate the warnings by doing the following:
This section contains a variety of miscellaneous information.
Financial : Although the OpenStax CNX site makes it possible for you to download a PDF file for the collection thatcontains this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, youshould be aware that some of the HTML elements in this module may not translate well into PDF.
You also need to know that Prof. Baldwin receives no financial compensation from OpenStax CNX even if you purchase the PDF version of the collection.
In the past, unknown individuals have copied Prof. Baldwin's modules from cnx.org, converted them to Kindle books, and placedthem for sale on Amazon.com showing Prof. Baldwin as the author. Prof. Baldwin neither receives compensation for those sales nordoes he know who does receive compensation. If you purchase such a book, please be aware that it is a copy of a collection thatis freely available on OpenStax CNX and that it was made and published without the prior knowledge of Prof. Baldwin.
Affiliation : Prof. Baldwin is a professor of Computer Information Technology at Austin Community College inAustin, TX.
Complete program listings are provided below. Source code for these listings as well as other source code discussed in this module is available in a downloadable zip file .
Notification Switch
Would you like to follow the 'Accessible objected-oriented programming concepts for blind students using java' conversation and receive update notifications?