03-03-2020, 01:50 PM
I am afraid, that you will need two microphones for this. To my knowledge there is no simple way to synchronize the speaker and the microphone (except for listening for the sound, which defeats the purpose). In the app, we can instruct the system to play a sound and to start a recording. However, there is no guarantee for the exact delay between issuing the instruction and the actual start of the playback/recording and I do not know of any method to tell the system that both should start simultaneously. In most use cases, this does not matter as long as the delay is not noticable by the user but for your experiment it needs to be precise.