first trials from tutorial in new class - MicrophoneCapture. Writing microphone input into file