do audio processing in recording thread. finished code to extract features from audio and add features to KNN