fladd
About
- Username
- fladd
- Joined
- Visits
- 173
- Last Active
- Roles
- Member, Moderator
Comments
-
Yes indeed, there was a small type in your code snippet. Glad to hear that it works now! (The other error you are referring to seems unrelated).
-
This is difficult to say without seeing the exact script you used. The testsuite results should be a more controlled benchmark. When you just start the test suite, a good result would be if none of the results are in red colour. Preferably there is…
-
The variable expyriment.control.defaults.open_gl can have the following values: 0/False = no OpenGL (no vsync / no blocking) 1 = OpenGL (vsync / no blocking) 2 = OpenGL (vsync / blocking) 3 = OpenGL (vsync / alternati…
-
Make first sure that setuptools and wheel are up to date: pip install -U setuptoolspip install -U wheel Then from within the expyriment-master directory: pip install expyriment-master.zip An alternative (and what I was referring to with "no…
-
Difficult to see from the short snippet you posted, but it appears that you are installing the source via zip? In that case, did you update setuptools and wheel first? What happens if you install it normally (i.e. via the setup.py)?
-
No. OpenGL is crucial for that. And even then I would suggest to check with the test suite.
-
Hi Yoni, I actually realized that, too, yesterday. I fixed it, if you redownload the zip file it should work. Sorry for the confusion. We are preparing for the next release.
-
Hi, it is not clear to me what exactly doesn't work. In your first example you will never reach the elif, because the expression to evaluate is the same for the if before. In the second example they are different, though. What do you mean with &q…
-
I think OpenGL ES provides a similar way of blocking on the vertical retrace. We just have not looked into implementing OpenGL ES support yet. Maybe in the future. I am not sure how Kivy handles blocking either. Maybe best to ask in their forum (if…
-
Hi there, Expyriment on Android indeed does not use OpenGL. Mainly because normal OpenGL is not available there, but only a special version of it (OpenGL ES). I believe that the PyOpengl Package can nowadays also target OpenGL ES, or at least parts…
-
That is because fast_stimuli == "cruel" and fast_stimuli == "love" can never be true, since fast_stimuli is a list, and "cruel" and "love" are strings.
-
You get this error because you never start the experiment. The data attribute is only available after a call to expyriment.control.start. See also http://docs.expyriment.org/expyriment.control.html#expyriment.control.start.
-
Hi Tanto, I am not sure I understand the problem. key, rt = exp.keyboard.wait(duration=1500)if key is None: # Not responded if gonogo_stimulus == "blue square": correct = 1 else: correct = -1else: if gonogo_stimu…
-
Don't know. Best to ask in the OpenSesame forum. Or maybe @sebastiaan can chime in?
-
Here is a description of the plugin system in Expyriment: http://docs.expyriment.org/Plugins.html. You can use the MIDI input like this: import expyriment.io.extrasmidi_in = expyriment.io.extras.MidiIn(device, buffer_size=1024) To get a list of M…
-
Hi Friedrich, there is no particular code for recording musical performances, but there is MIDI input and output available as a plugin (see http://stash.expyriment.org). I am not sure what the latencies will be like, though. Best, Florian
-
Mmh, this seems to be related to how Windows handles the Pygame window. If the calibrate method of the pygaze is blocking, then you could simply add a exp.screen.update() afterwards, to ensure a screen refresh in the Expyriment window. If the meth…
-
In your code, you never send any marker. Also, you do not need to create a marker object for each marker. Assuming, that you want to send a marker everytime a video is being presented, here is some code: import expyriment as xpyxpy.control.defaults…
-
Glad to hear that it is resolved.
-
You only need one marker output object. On every call to its send method you can tell it what marker to send. Please also see: http://docs.expyriment.org/expyriment.io.MarkerOutput.html
-
I moved it to the OpenSesame section (assuming this is where it belongs).
-
Wrong forum. Moved.
-
Given your code, the presentation of the blank screen cannot be random. In fact, it is only presented a single time, in the beginning. Afterwards, it is not presented anymore. If you are still seeing it afterwards, it might be related to a potential…
-
Well, in your code above you only present the blank screen once at the beginning of the experiment.Not sure how your current code looks like.
-
Hi, Two things: * You forgot to add your trial to the block: for trial_repetition in range(100): trial = xpy.design.Trial() pattern = xpy.design.randomize.rand_element(patterns) trial.set_factor("Pattern", pattern) trial.add…
-
Since the videos are played without hardware acceleration, 4K can indeed lead to dropped frames, I am not too surprised by this. It's a very high resolution. You might consider recoding to full HD (or try with a more powerful machine; i.e. with a mo…
-
What resolution are the videos in? On the machines I tested it on (Windows, Mac, Linux) I could play full HD videos without dropping any frames. How exactly are you showing the videos? Can you post your code?
-
Hi, easiest is to just download the zip (expyriment-master.zip) file. You install it then in the standard way to install Python packages: pip install expyriment-master.zip (assuming you are in the directory wherethat file is located).
-
Ah, now you ironically ran into another bug. This bug, however, is also fixed already, but not in the beta yet. We will release a new beta with the fix soon, but for now, you can install Expyriment directly from the repository. That should work.
-
The error is related to a bug. This has been fixed, but no official new version of Expyriment has been released yet. You can either use the development snapshot directly from the repository (github.com/expyriment/expyriment/) or you can install a b…