Here is what I was getting at:
In my drawing V2 is used to simulate your switch closing. The signal to your circuit goes low to ground when the gate opens. The problem is you don't want the constant low so we differentiate the low and just get a fast low spike to trigger the 555. The 555 generates an output pulse (One Shot) to turn on your buzzer for the duration set by the 555 R*C timing network. When your gate closes nothing happens and the circuit waits till the next gate open.
Ron
In my drawing V2 is used to simulate your switch closing. The signal to your circuit goes low to ground when the gate opens. The problem is you don't want the constant low so we differentiate the low and just get a fast low spike to trigger the 555. The 555 generates an output pulse (One Shot) to turn on your buzzer for the duration set by the 555 R*C timing network. When your gate closes nothing happens and the circuit waits till the next gate open.
Ron
