Implemented audio recording, RMS calculation