https://github.com/complexlogic/rsgain
