Added some code to prep for testing on real hardware
Fixed sample rate setting