Woseseltops / RU-HumLab-XR

0 stars 0 forks source link

multiple audio outputs for keeping track of latency between stimulus and response #52

Open timjzee opened 9 months ago

timjzee commented 9 months ago

Ideally we want to have a beep in the microphone recording for when the stimulus appears/is played, but we don't want this beep to be audible for the participant

timjzee commented 9 months ago

Using Wwise is one option: https://blog.audiokinetic.com/en/implementing-two-audio-devices-to-your-ue-game-using-wwise/

timjzee commented 9 months ago

Maybe I don't actually need two outputs... I can just make the beep have a frequency that is > human hearing

timjzee commented 7 months ago

If the HP's headphones can't produce the 20Hz beep, we can try the solution that is suggested towards the bottom of this thread: https://forums.unrealengine.com/t/render-sound-to-dedicated-output-channels-of-an-audio-device/143658/12

timjzee commented 7 months ago

Brainfart! We only need the microphone to pick up the sound from the headphones to verify that the delay between system sound and headphone/microphone sound is consistent, and for the verification we don't need the sound to be inaudible by humans. Once we have done the verification we can simply use the recording of system sound as markers for the start of the stimuli. It would actually be good if the HP's headphones could NOT produce the 20 kHz beep, as this would make sure that the participants do not pick it up!