Frequency tuning for temporal perception and prediction