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 Roelof, The first way to install packages in Anaconda is using the conda install command. Some of the dependencies can be found in the CogSci conda channel. So you could install qscintilla2 as follows: conda install -c cogsci qscintilla2 The s…
  • Hi Michel, As of OpenSesame 3.1, the loop uses DataMatrix, a convenient data structure that allows you to do all kinds of things with your loop table. Let's say that you want to get the length of block_loop: block_loop_len = len(items['block_loop'…
  • Hi Bruno, No that's not supported. OpenSesame doesn't have a full-fledged HTML engine in the runtime—just those tags that are described in the documentation. If you want to increase the line height, your best bet is to write an inline_script, or to…
  • Hi Bruno, Interesting that you call your participants 'sweet participant' :wink: For historical reasons, OpenSesame uses a crippled dialect of HTML, as described here: * http://osdoc.cogsci.nl/3.1/manual/stimuli/text/ In other words, it's not &l…
  • Hi Felix, The crucial part of the error message is at the bottom, that is, the part that we can't see in your screenshot. :wink: The best way to post the error message is by simply copy-pasting the full text. You can use ~~~ markers to indicate th…
  • (Quote) In principle, xpyriment and psycho should be close to identical in terms of timing. But of course in practice there are sometimes differences (as often in favor of xpyriment as the other way around though). Expyriment actually has a pretty …
  • (Quote) Ok, that explains the apparent difference in memory use between us. This also means that memory use wasn't the problem to begin with. So it's probably an obscure, difficult-to-resolve OpenGL issue. On the bright side: There was a garbage-co…
  • Seems like a question for @Pascal!
  • Looking back at your previous posts: I assumed that you were monitoring memory use of OpenSesame, but that's not actually what you said. These percentages, do they refer to overall memory use of your system, or to the memory use of OpenSesame on its…
  • That's weird—and annoying. I cannot reproduce the crash myself. On my Windows 7 system, the experiment gradually eats its way up to about 700 Mb of memory. That's clearly excessive, and the fact that memory consumption accumulates over time suggests…
  • Hi Javi, You can re-enable responses by restoring the original get_key() function. So if you use this script to enable auto responses: from openexp._keyboard.legacy import legacy as legacy_keyboarddef auto_get_key(*args, **kwargs): return 'a', …
  • Hi Bruno, The error message indicates that the experiment is not utf-8 encoded. OpenSesame experiments are always utf-8 encoded, so it's possible that the script has been opened by some program (perhaps unintentionally), and then saved in a non-utf…
  • Hi Felix, The loop item supports pseudorandomization. For example, say that you defined a variable called video in your loop, and you don't want to repeat the same value twice, then you could specify the following constraint: constrain video maxre…
  • Hi Michel, (Quote) No, this is not something that you're doing wrong. It's a problem with how OpenSesame and the underlying libraries deal with memory. But I did make some progress. There were so-called cyclic references that prevented canvas obje…
  • That does sound pretty awesome. Is this data from Airport Scanner by any chance? I saw a talk about that game a while ago (at VSS maybe, I'm not sure).
  • Hi Boris, Let's try again. import pippip.main(['install', 'python-datamatrix', '--upgrade'])pip.main(['install', 'python-qdatamatrix', '--upgrade']) You should end up with datamatrix 0.3.8 and qdatamatrix 0.1.12. For me, this massively improves p…
  • Hi Michel, I just did a bit of testing myself, and explicitly deleting the canvas indeed doesn't appear to make a big difference—which is odd. What does make a difference is re-enabling the automatic garbage collection. You can do that by editing t…
  • (Quote) They consume the same amount of resources, but are prepared at a different moment. sketchpad items are all prepared in advance, so if you have a lot of them, the preparation can be very noticeable. feedback items are only prepared when they …
  • Hi Michel, The error is, in principle, a bug somewhere in OpenGL. But as Jarik also suggests, I think it's probably also due to memory filling up (in combination with buggy memory management). You have a lot of sketchpads that are all prepared at …
  • Hi Boris, The loop table is indeed very slow, but a few performance improvements have already been released (but not packaged with OpenSesame yet). What you could do is the following: First start OpenSesame (on Windows: as administrator and withou…
  • (Quote) Ow right: The xpyriment backend actually uses the legacy keyboard backend. Each backend is a predetermined combination of a canvas backend, keyboard backend, etc. If you click on backend settings in the General Properties tab, you will see w…
  • Hi, (Quote) If you're only interested in measuring pupil size, then buying a more expensive eye tracker may not be worth it. Gaze position is much more difficult to determine than pupil size, and in quality of gaze position is therefore where you w…
  • Hi, The responses object only stores information about responses. It's not clear to me if that's enough in your case, or if you really need information about experimental variables on the previous trial—which are not stored by the responses object.…
  • Hi Javi, Yes, it does. It basically overrides the real keyboard.get_key() with a custom function that simulates an immediate key press. Cheers, Sebastiaan
  • Hi Timo, Right, auto-response has been removed in 3.1. This release included a reworked way to handle responses, and the old (awful) implementation of auto-responses was removed as a part of this. I do want to re-introduce this in the 3.2 series th…
  • (Quote) Exactly, the mouse cursor is handled by the operating system. If you want to draw your own mouse cursor, you have to hide the actual cursor (it is hidden by default in OpenSesame) and then draw your own cursor onto a canvas. This is actually…
  • (Quote) The variable response_voice_time should be 'detected' when a voice onset is detected, and 'timeout' otherwise. There's no voice recognition that will tell you what the participant said, if that's what you were expecting‽ That loudness is als…
  • Hi Lauren, Both the keyboard_response and the script create a variable called response. Because the keyboard_response comes last, that's the one that you see in the log file. What you can do is change this line in the script: set_response(respons…
  • Hi Tom, In the foreseeable future, we'll just keep EyeTribe support as it is. After all, if anything this has become easier because we don't need to worry about updates. ;-) There are plenty of EyeTribe users out there. Cheers, Sebastiaan
  • I understood that there's a general problem with sound playback on (some) Mac OS systems. (Right @Daniel?) So it's probably not specific to the file format. If converting to .wav doesn't resolve the issue, then you could consider using pyaudio, whi…