/** * Basic sound file playing * * @author Pat Troy: troy AT uic DOT edu */ import java.util.*; import java.awt.*; import java.io.*; public class Lect1102c { public static void main(String[] args) { String fileName = FileChooser.pickAFile(); Sound s1 = new Sound (fileName); System.out.println ("Samples per second: " + s1.getSamplingRate()); System.out.println("Before Play"); //s1.play(); s1.explore(); System.out.println("After Play"); } }