Refracting buzzer function