mid-way converting to custom bin sizes
introduced samplesPerMinute and minutesPerBin