Set a maximum frequency for playing sounds