Hi i am working on an instrument that triggers a sound when the brightest pixel reaches certain area, my problem is that every time ths happens processing triggers the audio several times per second so you can´t even listen to the full sound. I would love to get jus one trigger per zone every 2 or 3 seconds or when the sound finishes playing.
I am not very experienced programming so any help would be grate. thanks.
To test it you may need an audio file called notes 1.wav notes 2.wav , etc...
Hi i am working on an instrument, i want it to active a sound, but not repeatedly as it happens now, if any of you has an idea of how to fix it i´d appreciate it.
Each sound is activated by a bright light on an area, but if the light stays on the area for more than an instant, the sound repeats infinitely and i don´t want that.
THis is the code, if you put a file named notes 1.wav (notes 2, etc...) on your folder you should be able to test it and se the problem.