buzzer does not work with distance sensor hc-sr04

Where are you making this an output?
#define buzzerPin 10