SpectrumMicrophone(){
	DataLine.Info info = new DataLine.Info(TargetDataLine.class, format);
	if (!AudioSystem.isLineSupported(info)) {
	    System.err.println("An audio system error has occured, Audio System is not line supported");

	}
	// Obtain and open the line.
	try {
	    line = (TargetDataLine) AudioSystem.getLine(info);
		line.open(format);
		
	} catch (LineUnavailableException ex) {
	    System.err.println("The line here is not available");
	}

	// Assume that the TargetDataLine, line, has already
	// been obtained and opened.
	ByteArrayOutputStream out  = new ByteArrayOutputStream();
	int numBytesRead;
	byte[] data = new byte[line.getBufferSize() / 5];

	// Begin audio capture.
	line.start();

		
	while (!stopped) {
	    // Read the next chunk of data from the TargetDataLine.
	    numBytesRead =  line.read(data, 0, data.length);
	    // Save this chunk of data.
	    out.write(data, 0, numBytesRead);}
	
	 }