Optimizing random sampling of daylong audio