This library allow user to record and playback audio. It has C++ components and thus cannot be installed directly by the user. Thank you!
Github Page: https://github.com/spatialaudio/python-sounddevice/