sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi Zliu, I understand the confusion. There are two types of portable packages. * One is labeled 'no installation required'. This is exactly the same software as the .exe installer, except that you don't need to install anything--just unzip and go.…
-
(Quote) No, the main source of latency is the sound card/ drivers itself, and this doesn't depend on how you process the sound when it comes in. If you're concerned about the timing, it's best to benchmark your system. For example, you can show a pi…
-
Hi Tali, The sound recorder plug-in only records sound, but doesn't allow you to do anything sound-contingent. However, it's quite easy to implement a vocal key with a simple inline script. There quite a few examples floating around on the forum (s…
-
@zliu I responded to your comment here
-
Hi Zliu, Thanks for pointing out the broken link. If your main interest is to use the EyeLink, there is no (longer any) need to download the special WinPython package. You can simply download the latest version of OpenSesame, open the PyGaze templa…
-
Hi Malte, If I understand correctly, you're wondering whether you could avoid using the parallel item by writing an inline_script that plays sounds and collects key presses in a continuously running while loop. Right? I don't think this is possibl…
-
Hi Peter, I think the easiest solution in your case would be to just log all gaze coordinates to a file. Then, afterwards, you can take your time to analyze the data. So that would be the first option from my previous answer. Collecting the data a…
-
I'm afraid I'm in the dark then. Your device's specs are somewhat low, but it's difficult to say whether this explains the crashes. You could post the experiment here so I can take a look at it?
-
Hi Boris, Way, way, back, keyboard.to_chr() was necessary to convert keyboard codes to characters. For a long time, the function was still there but didn't do anything. And now it's removed. This will do the trick though: if key == "backspac…
-
(Quote) For your purpose it should be fine. The timing of audio playback is not nearly as good as that of video, so this will probably be your main source of noise. I haven't benchmarked it, but I don't think the parallel plug-in will add much tempo…
-
I see. That's quite a common problem that people run into. I don't know the details of your experiment, but the basic idea is the following. You have two canvas objects, c1 and c2. You want to present c1 for exactly 1000 ms (regardless of the RT), …
-
It looks like you're running a very old version of OpenSesame. The style keyword was introduced in 2.8.0. If you're running Ubuntu, you can easily update using the cogsci PPA: * http://osdoc.cogsci.nl/getting-opensesame/download/#ubuntu
-
Hi Guido, You're right, flushing key presses doesn't work on Ubuntu. Not as expected anyway, it works 'after a while'. This seems to be a bug in pygame, and it's specific to Linux and perhaps also Mac OS (I've heard similar complaints from Mac OS u…
-
(Quote) matplotlib cannot draw directly on an OpenSesame canvas, so this would indeed be the way to go. I did this once, and it worked. One quirk was that matplotlib seemed to steel the window focus, so you had to click in the OpenSesame window to c…
-
Hi, From their website, it seems like the Griffin Powermate sends keyboard commands. If that is correct, you should simply be able to use the keyboard_response item to collect input from the Griffin. Does that work? In any case, it's a very differ…
-
(Quote) It usually doesn't really matter whether you use one long inline_script, or divide your code over multiple inline_script items. However, dividing the code can make your experiment more structured and easier to understand. So, from a style-pe…
-
(Quote) Sure, you can add arbitrary Python code using the inline_script item. If you search this forum for 'pyaudio', you'll find various examples of people using pyaudio this way. Cheers! Sebastiaan
-
Hi, I do see a crash in my Google Play developer account. It came in on Aug 18, and is identified as coming from a Droid X device, running OpenSesame 2.9.7, and Android 2.3.3 - 2.3.7. Could that be you? From what I can tell, this is a hard crash t…
-
Hi Stefania, The variable time_fix_point (i.e. the one that OpenSesame creates automatically) indicates when the run phase of the inline_script starts. In this script, a few things happen: * You import the keyboard module * You create a keyboard o…
-
(Quote) I'm not 100% sure whether you can do both at the same time. I can imagine that the script and plugin interfere with each other, because they are both capturing mic input. But this probably depends on how your operating system handles audio, …
-
Hi Peter, The EyeTribe works a bit differently from what you may be used to. It doesn't record data automatically, and it doesn't offer an integrated analysis tool. Basically, the EyeTribe is just tracking gaze, and it will give you eye-position in…
-
Hi Steffen, I'll pass this on to @dschreij, who's the developer of the media-player gst plugin. Cheers, Sebastiaan
-
Hi, The mouse cursor is drawn by the operating system, so you can change it by installing a new cursor theme. It's a bit unusual, but it can be done in most operating systems. However, from the perspective of OpenSesame there is no difference betw…
-
Hi Anne, This doesn't sound to hard. (Quote) The tickmark is not shown in your case, because the form is immediately closed when the participant ticks a box. However, if you add a 1000 ms delay after the form, you should see the tickbox appearing.…
-
Hi Guido, Yes, you're correct. Whether key presses are flushed or not is only relevant for keys that were pressed before the keyboard_item was called. So if you exclude RTs of say < 5 ms, then you should be fine in this respect. You mention tha…
-
Hi Felipe, It's a bit unclear where exactly this error message comes from. Could you upload the entire experiment script, for example to http://pastebin.com? And are you running 32 bit or 64 bit Windows 7? It kind of looks like a compatibility iss…
-
(Quote) Not really, but I imagine that just copying the .dll files from PsychoPy to the main OpenSesame folder (i.e. not a subfolder) should do the trick. Does this work for you? (Quote) The cv2.imshow() function shows the frame on the cv2 window, …
-
Hi, If you want to save the sound files, you'll want to take a look at the soundrecorder plugins written by @dschreij: * http://osdoc.cogsci.nl/devices/soundrecorder/ The main difference with the script that you point to is that this script deter…
-
You need to put pysony.py directly in the OpenSesame program folder, because that folder is part of the Python path. Think of it like this: * When you install a module (a file) or package (a folder) in a regular Python environment, the files go to …
-
Hi Hiro, Yes, that's possible. You just download the Python modules/ packages and put them in the OpenSesame program folder. (Assuming you're on Windows.) You should put only the relevant folders/ files in the OpenSesame folder. For pysony this lo…