New (hopefully) working recorder

Based on Stefans old recorder
Tested and working on my comp.