now calculates notes per interval
updates every second