Guitar signal to Sound detector

Hello!

I have Sound detector and I’m not tested device yet, but my plan is to make it to detect guitar signal. And then using gate output to close other guitar signal. I can’t using ground for muting because both signals use same ground, switching signal off is fine so it is basically work like pickup selector.

There was one question on products comment section about using this product for guitar setup and Byron J answered:

"Remove the mic capsule.

Remove R1.

Inject the new signal at the positive pad where the mic was.

Populate R17 for the desired overall gain. If you have a source that’s already in the 0V-5V range already, 1K will set the preamp at unity (there’s a spreadsheet in the Git repo that you can use to calculate for other values of R17).

The opamp doesn’t lock up when it clips, but it’s not good practice to overdrive the input too significantly. You can protect the input by configuring a pair of diodes as a clamp.

The attack time is determined by R8. We want the circuit to be responsive, so it’s pretty small at 100 Ohms. If it gets much bigger, it completely misses short bursts. The decay time is set by R9."

My question is: Any advice on what are resistor values to start with? And what is the purpose of protecting input with diodes? I planning to route same signal which is going to detectors “input” (removing mic first) also to guitar amp, is the detector input stage make any noise to input signal? And since guitar output have very low AC voltage, do I need something before detector’s input (mic)?

And most important thing how the gate output switch would be easiest to make? I’ll probably need a transistor for relay switching but can I just use transistor to switch off signal? I would appreciate any advice and some kind of schematic would be more than welcome. In pic there’s no transistor or anything, is it just showing how the signals would be going. Thank you!

Here’s that pic.