Auduino Fix + Delay

Ok now i've understand thx

I've tried your code hooking a button to digital pin 4, I dont have any delay in the sound processing, I've also tried to implement your code into that http://www.instructables.com/files/orig/F6S/7C5D/H2MYIX2S/F6S7C5DH2MYIX2S.ino but with no result...

here's the modified code....

any suggestions???

audino_LDR_delay_NOTWORK.ino (14.2 KB)