- made samples per second configurable