Metasound Starting and stopping instantly


This is what I actually do. StartFire and StopFire are called when left click is pressed and released. It then checks if it can fire and if it can, it starts the audio. The problem is when I call StartFire then StopFire really fast, it instantly stops the audio as it starts.

This is the audio graph that just repeats a sound 10 times per second to copy the guns fire rate. I tried just delaying the stop trigger so it stops the audio after one shot but then two shots are fired if held too long.

Is there anything you can see I should do please?