Refactor frequency graph into a class
Add support for multiple pcm stream outputs