This is a simple demo that shows how to record audio and play the recorded file. This repo is related to the following post. The Java version of this repo can be found here.