I have created a cabbage patch in order to trigger events using a piezoelectric sensor connected to my audio device. When the threshold is exceeded it play a wave file.
But I still get latency problem between the stimulation and the response.
I already tried to reduce the buffer size, but if I set it on less than 640 samples the sound file is distorted.
I know that the CPU is an important factor and usually I work my macbook pro (now broken!!), but this project is for children in a school where I could use a sony vaio for a music workshop.
Any suggestion to reduce the time response?
Thanks in advance!