The medium of sound is perhaps the most powerful of all. In the days before television, radio provided the sole means of access to the outside world for generations. Winston Churchill's wartime broadcasts have become classics in their own right. The fact that many readers' parents had access only to radio might be hard to believe nowadays given the ever-increasing number of media that are available at the flick of a switch for free or almost no money.
The new media are underpinned by sound and moving images and Java is at the forefront of this with the Sound API and JMF. Both of these technologies provide amazing power to end user programs and specialists alike.
Sun Microsystems provides a comprehensive downloadable demo application that was described above in some detail. This demo application is worthy of close study for a number of reasons:
- It provides excellent insight into the way Java GUIs are written.
- It illustrates the ease with which the Sound API can be used.
- The tradeoffs required for different platforms are accommodated.
The Java Sound API provides the means by which audio can be recorded, played back, and synthesized. Go on, give it a shot!