only reads and outputs samples on a timer