Java Sound Player and Recorder

This program is a library that contains a Java Swing GUI for playing and recording audio clips. It is designed to be embedded in UIs that need to load, view, play, record, and save a clip. Here's a simple main method that makes a "Sound Recorder" application that lets you load, record, and save audio clips.
	public static void main(String[] args) throws Exception {
		MainPanel mp = new MainPanel();
		if (args.length == 1) {
			mp.open(new File(args[0]));
		} else {
			mp.open(new File("tmp.raw"));
		}
		JFrame f = SwingUtils.showPanel(mp.getPanel());
		f.setSize(1000,300);
		 
		
		Object o = new Object();
		synchronized(o) {
			o.wait();
		}

		
	}

When run it looks something like this:

Download it from the Sourceforge project page.




SourceForge.net Logo