Auto-retrieve sample frequency