Hyperscanning/multi-player study

OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): v2024.2.1post4
What are you trying to achieve?:
We want to implement a study in which two participants face each other and tell each other a story. The setup for the paradigm and what we want them to see on a screen ist pretty simple. First, a screen that tells them whether they are the listener or the story teller. After each story they have 2 min of free discussion after which they have to answer some questions (i.e., how they felt, if they could understand what the other one was telling). So it’s two screens with different content (the questions vary a little depening on whether they are the listener or speaker) and parallel input from two different keyboards but everything should be aligned: 1. every person has 2 stories x 4 conditions to tell and needs to listen to the same number of their interaction partner. Thus, the conditions and roles of the participants need to match each other, 2. timing should be similar for presentation of the different tasks.
My question is: is this possible with PsychoPy? To present different content on two screens and receive (perhaps) simultaneuous input from two different keyboards? I’m happy about any idea on how I could implement this. I’ve searched the forum but only found hints about this and no clear answer. I’m definitely more familiar with the Builder but can also get into the Coder. Or perhaps using this as an Online Experiment would be the most easiest to realize it when both participants start it at the same time? However, we also want to collect physio data and it would be best to align it with what is being presented on screen.
Thank you so much for the input!

I have an idea about two keyboards. What if one participant types in lower case and the other in upper case?

@wakecarter, that is a very good idea, thank you!

How would I implement the presentation on the different screens, though? Can I define the different screens e.g. as screen1 and screen2 and then present different content within the same routine onto the screens, respectively?
For example for my routine Questions, can I determine that question1 is being presented on screen1 and question2 on screen2?

You can disable psychopy running in full-screen, then set your screen size to be twice the x value (ie. 1920x1080 becomes 3840x1080), this will allow psychopy to expand across 2 monitors on the same screen. However, you will have to make sure you are projecting the correct stimuli to the correct positions (or in this case screen).

Issac

Contrary to @stanley1O1 's suggestion, I would recommend trying to create the second screen in a code component. Here’s a link to today’s tip.