----
TODO
----
- Auto calibration mode
- Compile as library
- Add audio gain control 
