Do Photons make noise? - Yes, they do. But here we are going to produce noise using a buzzer according to the intensity of light (Photons).
Using a metal touch sensor, I've essentially made a button that notifies the user when it's been released over a certain time threshold.
Learn how to use micropython to use your GPIO pins on your PSoC.