I need to program a function that records an audio response, but when the voice of the person speaking reaches a certain intensity I need to know it on-line. Currently I am using this for recording:
PsychPortAudio('GetAudioData')
I can't analyze the intensity of the voice (using norm for example) on-line.