Troubleshooting Arduino Midi Controller

Hey folks,
I've been following THIS guide pretty closely, and have everything wired up correctly on my breadboard as far as I can tell. I've been using the code provided in the video, and have loaded it on my Arduino Uno but its unreliable. I haven't been getting consistent signals from the sensor in HairlessMIDI, and going into the code and lowering the sensitivity from 1000 to 100 didnt have any effect other than sending a random series of signals to Hairless upon startup. These start up signals did work and triggered a sample in Logic Pro X, but after the initial startup signals I was unable to get another signal from tapping the sensor, or even hitting it pretty hard.

Since I'm using a Mac, I didnt have to use the LoopMidi program to create a midi channel, I just did that in Mac's Audio Midi Setup... Dont know if that could have something to do with this.

Any tips or alternative code appreciated!
Thank you