The program continuously listens microphone and plot signal waveform. Position of maximum is used for synchronization. This can be useful in speech recognition research.
See how it works here:
run run_me.m and say sounds like "aaa" "eee" to the microphone.
Probably the problem is that you have matlab 64 bit. Try to use matlab 32 bit with DAQ toolbox.
This file looked interesting so I gave it a shot, unfortunately I get the following error when trying to run run_me.m:
Error using analoginput (line 46)
To learn about using data acquisition devices on the win64 platform, see the documentation on the session-based
Error in run_me (line 7)
ai = analoginput('winsound');
axes box was shifted up to see all x-ticks, add highpass 400 Hz filter and add lowpass 400 Hz filter