237238239240241242243244245246247
try { if (clip != null) { clip.stop(); } LineInputReader reader = new LineInputReader(FFT_LEN); reader.startRecording(); while(!terminated) { runTransform(reader.getNextFrame()); } reader.stopRecording(); } catch (LineUnavailableException e) {