Triggering Camera with a Sound Sensor Module

Hello
I am a launch photographer and I setup remote cameras and video cameras. I do have a bit of a hobby in electrical engineering, however I am new to Arduino. I wanted to use a sound detection module from eBay, and connect it to the analog input of the Arduino, and connect a wire on the GND and the + slots on the digital end. The camera triggers when there is a short circuit, which I am hoping will be created. Now I am a bit confused on the programming of this. How would I make Arduino know when it receives an input from the Analog end, to carry out all the functions I need it to? Should on startup of the board, run a script to deliver power to the positive port on the analog, and no power on -?

Thank you

I just drafted the coding and I was wondering if someone could tell me if this would work.

void setup()
{const int SoundDetectorPin = A2;
const int CameraTriggerOutput = 3;

if (analogRead(SoundDetectorPin) == LOW)
digitalWrite(CameraTriggerOutput, HIGH);
}

void loop()
{}