Baby monitor problem

i made a project to detect a crying baby and play a music. but it keeps giving a constant output voltage to the music player without getting the output signal. how can i overcome this problem. I’m uploading my codes below.
thank you in advance.

sketch_aug22a.ino (3.31 KB)

Read the forum guidelines. You have resurrected an old post to hijack it. Post your own thread otherwise people will waste time reading through this old topic before finding your unrelated post

Split from an old, unrelated topic

Please post your code.
In code tags.