@bcwaldon Can this be moved to a constant (e.g. `sampleDuration`)?