sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Yes, adding documentation for creating plug-ins is certainly on my TODO list. For now, the best references are other plug-ins and the qtplugin source code. All the functions that are called add_*() can be used to add controls to your plug-in. In yo…
-
Hopefully, there will be a Mac package for 0.27.1 soon, but for now you can accomplish the same thing using Run-if statements. Basically, you use [correct_in_a_row] < 10 as a 'Run-if' statement for all the items in your trial sequence. This will …
-
Indeed, OpenSesame tries to evaluate the foreground color, and fails to do so when the foreground is specified via a variable that is only available at runtime (issue). I'll fix this for the next bug-fix release, but for now you can use the followin…
-
(Quote) No, they use different principles. PsychoPy uses OpenGL for everything, at least as far as I know. That's why it can generate all these fancy stimuli on the fly. Expyriment works pretty much the same way as the legacy back-end, with the exce…
-
Hi Edwin, Slowness is an issue with the xpyriment back-end. It's especially noticeable with forms, and when you present stimuli in rapid succession. * http://osdoc.cogsci.nl/forms/performance-issues-and-troubleshooting/ The slowness is due to the…
-
Hi Katerina, OpenSesame has certainly been used for fMRI research. As with all other software, you need to test your experiment carefully, but then you should be fine. Timing should be no issue, particularly not if you send triggers to mark the ti…
-
@koenraad (Quote) I'm afraid not. Indentation is part of the Python syntax. It can be inconvenient when copy-pasting, but in general I'm sure you'll learn to appreciate indentation over the use of brackets (as in most other programming languages)! …
-
Hi Andrea, Your code is fine. It works for me with PsychoPy 1.76.00 on Kubuntu 12.04. (Quote) From the error, it seems as though there is simply a bug somewhere in PsychoPy, not something related to avbin.dll (I think that would result in hard cra…
-
Hi Andrea, Thanks for tracking this one down. I suspect that your analysis is correct, and it shouldn't be too hard to fix. (Issue). Cheers! Sebastiaan
-
Hi Hunter, Welcome to the forum! (Quote) Generally speaking, if you do part of the drawing with an inline_script item, you have to do all of it that way (at least for things that happen simultaneously). So instead of a sketchpad item, you would ne…
-
Your best bet is probably the text_input plug-in, which has a timeout option. It's not as fancy as the form plug-ins, but these don't support timeouts (although that might be something to add in the future). Cheers! Sebastiaan
-
Hi Thijs, In OpenSesame 0.26 and before, get_key() returned key-codes, rather than names or characters, and you had to do an extra conversion: response = my_keyboard.to_chr(response) This was kind of awkward, so nowadays get_key() returns a key n…
-
Hi Masoud, Do I understand correctly that you are wondering whether you can upload your OpenSesame experiment to a website en have participant run it in a browser? No, I'm afraid that's not currently possible. The HTML that OpenSesame uses (only a …
-
Hi Wouter, I don't upload the deb files separately anymore, because OpenSesame is available through a number of repositories: * NeuroDebian * ppa:smathot/cogscinl * ppa:smathot/opensesame-next Cheers! Sebastiaan
-
(Quote) Some graphics cards have a dedicated configuration panel that allows you to enable/ disable this, but generally speaking v-sync is enabled. You can find out really easily, though. Just present screens of different color in rapid alternation …
-
Hi Edwin, Thanks, yes this is indeed a bug (issue). It's a general problem that occurs in all plug-ins that use a QSpinBox by way of qtplugin.add_spinbox_control(). It's easily fixed, but the question is what the desired behavior would be, since a…
-
(Quote) If you add a logger item to the end of your trial sequence, your data file will contain a row for every trial. This should contain all the information that you need. (Quote) The best way to implement questionnaires is using forms, as descri…
-
(Quote) Indentation trouble, probably. Python uses indentation to deduce the structure of the code, and this can easily get mixed up when copy-pasting. (Quote) :-bd
-
(Quote) The timing of sound is in general much less precise than that of display presentation. Unfortunately, it's also very difficult (impossible maybe) to know the actual timing of the sound playback without doing benchmarks with external hardware…
-
(Quote) Monitors have a fixed refresh rate, and you want the software to take this into account. For example, if your refresh rate is 100Hz you can never present more than 100 frames per a second. With some configurations (using the legacy backend m…
-
Hi Noam, I appreciate that you might be under time pressure and need to resolve your issue quickly, but it's not necessary to open multiple topics for the same question. If you're worried that your question has been missed, you could query again in…
-
Hi Thijs, The easiest way to debug your script is by using the print statement, which prints stuff to the debug window. That way you can print out all the variables in various stages of the script, and see where things go wrong. For example, you ca…
-
Ah, great! It has my vote (unsurprisingly). :-bd
-
Hi Edwin, Thanks for pointing this out. And yes, I agree, it would have been better to use _question or some other variable name that the user is unlikely to pick for him or herself. But the thing is that by changing the variable name now, we will …
-
Hi Shira, (Quote) You can use a 'Break if' statement in your block_loop (under 'Show advanced options'). Let's assume that you have tracked the number of consecutive correct responses as correct_in_a_row, then the following 'Break if' statement sho…
-
(Quote) To actually show something on the display, you need to use the canvas.show() function. The other functions only draw to some 'offline' canvas, which is not shown until you explicitly call the canvas.show() function. For many examples, see: …
-
Right, thanks for pointing this out! I simply forgot to set devmode to False while packaging 0.27.1. I don't think it's worth releasing a new bug-fix only for this, but I'll make sure I don't forget for 0.27.2.
-
(Quote) Glad to hear you tracked it down! (Quote) That's a good question. The workshops will be the 23rd (before the conference) and the 26th (after), but I don't see any indication of which workshop will be when. So basically, I don't know yet.
-
Hi Andrea, When you use ... set only_render yes ... the form is really only rendered, and does not wait for any user input at all. Like a sketchpad with a 0ms duration, basically. Is your problem solved by inserting a keyboard_response after the …
-
Cool, I'll add the Transformer to the list. And welcome to the forum!