Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

sebastiaan

About

Username
sebastiaan
Joined
Visits
7,303
Last Active
Roles
Administrator

Comments

  • HI Hadas, You're probably referring to TkInter, which is a classic GUI toolkit. And yes, it's included with OpenSesame. * https://wiki.python.org/moin/TkInter However, I wouldn't use TkInter, but rather the OpenSesame form widgets: * http://osdo…
  • Hi, This seems to be the same problem as reported in this discussion: * http://forum.cogsci.nl/index.php?p=/discussion/3642/different-computer-exp-not-working#latest Would you mind replying to my response there? Then I'll close this discussion to…
  • Hi, (Quote) Yes! (Quote) The response_time variable is the last response time collected by any item. The response_time_keyboard_response is the last response time collected by the item called keyboard_response, etc. Does that make sense? (Quote) …
  • Hi Sadek, The next version of OpenSesame (3.2) has a new feature that does exactly what you need: You can give names to the elements of a sketchpad, and then use these element names as regions of interest in a mouse_response item. (So you don't rea…
  • Hi Elias, I suspect that rect_x is simply assigned another value, which is Unicode (text), later in the experiment. Could that be it? The error is most definitely due to either the width or the x-coordinate of the rectangle being Unicode. And base…
  • Hi Matanel, That's a very strange error. I don't know where it comes from, although it seems to have something to do with the character encoding used by the Windows file system. A few questions: * On this computer, does this happen with all exper…
  • Hi Yunjoo, (Quote) Thank you :smile: Normally, if you want to collect two multiple-choice responses, you would simply use two form_multiple_choice items in a row, and indicate a different response variable in each of them. That way you can disting…
  • Hi Sadek, Collecting touch (=mouse) and keyboard input at the same time is possible, but it will require either some inline scripting, or coroutines. However, isn't it easier in your case to reserve part of the display so that participants can tap…
  • HI Steffen, The units of the timestamps are always in milliseconds. The 0 point has no real meaning, in the sense that different backends may use different 0 points. In the case of the legacy backend, I believe that the 0 point is the moment at whi…
  • Hi Alex, You'll want to take a look at the coroutines item, which does exactly this! * http://osdoc.cogsci.nl/3.1/manual/structure/coroutines/ Cheers! Sebastiaan
  • Hi, That's an interesting scenario. There are multiple ways to solve it, but here's what I would do. First, in your loop, define your condition variable in terms of other variables: condition0, condition1, etc. Keep a sequential order, and set repe…
  • Hi, I'm afraid that this kind of question is unlikely to get you the help you want. Why don't you first walk through the beginner tutorial, which should contain most of the information that you need. Then, after you have given it a try yourself, an…
  • Hi, I'm afraid that this kind of question is unlikely to get you the help you want. Why don't you first walk through the beginner tutorial, which should contain most of the information that you need. Then, after you have given it a try yourself, an…
  • Hi, The problem with your script is the indentation, i.e. the number of tabs that precede each line. The break statement should be intended one step down, so that it's not in the else block. Does that make sense? Like this: import pygamewhile True…
  • Right, it seems that you first need to update imageio (I was using a more recent version). To do so, open Menu → Tools → Python package manager, search for imageio, right-click on it, and select 'Update'. After you've updated, what happens if you t…
  • Hi Damien, If I understand correctly, you want to implement a tri-directional video stream, and then manipulate the video-sound synchronization? So basically create your own Skype video call. This is possible but will require extensive coding. You…
  • Closing as duplicate of this discussion.
  • Hi Julia, The media_player_mpy automatically tries to download a library that it needs to play back video. And apparently this fails on your system. But it's not clear to me why. What happens if you execute the following two lines in the debug win…
  • (Quote) No, it is not :wink: . You have a few options: * The mouse_response item will create the variables cursor_x and cursor_y, which you can use to determine on which picture participants clicked. * The touch_response item allows you to divide t…
  • Hi Ravina, Could you clarify what you mean exactly? Do you really want to repeat the exact same trial sequence until the participant responds? Or do you want to present a block of trials, some of which contain a masked word, while others don't; an…
  • Hi Johanna, Forms should use the default font as specified in the General Properties tab. Is that what you've done? If so, could you upload the experiment here so that I can take a look at what's wrong? Cheers! Sebastiaan
  • You'll find it in the Windows settings somewhere (not sure exactly—I don't use Windows). It's not related to OpenSesame per se, but it does affect how the window is shown.
  • Hi Evan, Do you have display scaling enabled? If so, Windows will automatically scale up the experiment window. You can work around this by either reducing the experiment resolution to compensate (but that won't fix the pixelation issue), or set di…
  • Hi Evan, In that case, I would switch to a Windows system (possibly a virtual machine on your Mac, which you may be familiar with). We're aware that OpenSesame is prone to such crashes on some versions of Mac OS, and we're working to improve this. …
  • Hi Evan, If you set the duration of a sampler item to 0, then the sound will keep playing in the background. So if you insert a sampler before your loop, and if your sound sample is long enough, then it will play for the duration of the entire loop…
  • Hi Roberto, You seem to want participants to explore freely in a regular browser (including scrolling, zooming, clicking on links, etc.). Is that right? That's not really what OpenSesame and PyGaze are intended for. Usually, with OpenSesame you wou…
  • Is this a question, or are you posting your video for promotion? In principle, it's ok to post a video here if it's relevant, but if so, please post it in a clear discussion along the lines of "I made this video showing X, and I wanted to shar…
  • Hi Evan, Could you provide some more details? What operating system and version of OpenSesame are you using? And what happens exactly when the program crashes? Do you get an error message, and if so what? Or does the window simply disappear? Cheer…
  • Hi Jane, This seems to be same question as you've posted here. So I'm closing this discussion. Welcome to the forum, but please avoid double posting in the future! :smile: Cheers, Sebastiaan
  • Hi Johanna, I'm guessing that somewhere you have a copy of the sketchpad that still refers to the old images. The error message will give you an 'item stack' that indicates exactly where the error comes from. Does that help? Cheers, Sebastiaan