Use AudioInputStream to read/decode audio data. Add a thread class to log process output.