Edwin
About
- Username
- Edwin
- Joined
- Visits
- 95
- Last Active
- Roles
- Member, Moderator
Comments
-
Somebody else had the same issue. There's a workaround in that thread. Other than that: @sebastiaan, any ideas?
-
Thanks for the files! And thanks for the clear description of the problem, by the way! All right, the problem is that the files (uncompressed 32-bit IEEE float audio) were not supported by PyGame (the package that is used by OpenSesame to play soun…
-
Hi Joshua, On your second question: When you send a trigger, what you are basically doing is changing the state of the parallel port (e.g. from 0 to 200. What most systems pick up, is this change in parallel port state. En example: if the parallel…
-
Hi! Could you perhaps email me one of the sound files in question, so I can check it's specifics? (codec and such) Thanks!
-
Hi Katherine, The function abs() is to calculate the absolute value of a number. This is defined as the square root of the square of the original number, which basically comes down to the same number as you put in, but without the minus sign. Examp…
-
My pleasure! I'll mark this as solved as well :)
-
Ah, yes, that's a tricky one. Either switch to the aforementioned form plug-ins, which allow you to specify a variable name. Alternatively, insert an inline_script item after each questionnaire item, containing the following script in the Run phase:…
-
No prob! Marking this as solved :)
-
No, it would simply be response.
-
This really depends on where the two keyboard_response items are placed! If the one you do not want to log is in between of the one you do want to log and the logger, you're gonna have a bad time! What you could do, is not simply use correct variab…
-
It's response, but due to a bug in the plug-ins, it's not shown in the logger item. You can manually add it, by clicking 'Add custom variable' in the logger item, and typing response. The bug is a know issue, but hasn't been resolved as the questio…
-
Hi, You might want to try the slider plug-in. This allows you to present a picture, as well as a slider on which people can rate it. To be more specific: the picture will be shown on the top of the screen, and the slider will be shown on the bottom…
-
I went through your log file and couldn't find it either. Very strange indeed! It's good to know, though, that your new version works. About losing subject data: that's why it's so important to test your experiments before you start testing real pe…
-
Again, almost there! This should be in the Prepare Phase of an inline_script at the start of your experiment: # load the libraries that we will needimport randomfrom openexp.canvas import canvasfrom openexp.synth import synthfrom openexp.keyboard …
-
I tried running your experiment, and it seems fine to me! (Ubuntu 12.04, OpenSesame 2.8.1) Please do note that you run the same Text Display, chunk_6, twice in a row. This means that although you are pressing a key, the screen will remain the same.…
-
Woops! Thanks for noticing the .bat in the portable version, I'm on it!
-
For other's reference, the code for the relevant form_base items that you use: "SAM" rating scale: set margins "50;10;10;10"set rows "1;2"set spacing "0"set description "A generic form plug-in"set …
-
Couple of questions: 1) Is this the entire inline_script named "_inline_script"? Why did the previous error state an error in line 442? (clearly, this script is shorter: could it be that you have some leftover script in the unused items?)…
-
Welcome to the forum! Although I can appreciate your urge for a quick answer (we've all been under deadline stress), what you seem to be asking is "please tell me exactly what to do". I strongly encourage you to do one (or several) of the…
-
Hi Kat, To upload images, you can use this website's free image hosting service: http://img.cogsci.nl/ But in general, the outline I gave above should do the trick. It's a simple matter of using the correct variable names in the inline_scripts, an…
-
Hi, First of all: you're almost there! Second: let's clean up the code a bit, to make sure the experiment runs a bit more smoothly. Since you use the pictures and the sounds throughout the entire experiment, it makes more sense to initialize them …
-
According to the error message, you seem to be experiencing a problem in line 442 of an inline_script item called _inline_script. This problem originates from your use of the pyaudio module. It seems the device you are trying to use does not exist. …
-
Hi Fenna, Are you sure you're looking at the right column in the output? It kind of sounds like you're looking at the count_keyboard_response variable rather than the correct_keyboard_response. If this is not the case, could you post your script? …
-
Hi Rachel, Could it be that the auto response function is on? (see in the menu under Run -> Enable auto response) If not, could you please post the script? Thanks!
-
Welcome to the forum! Although the image of your overview is very clear (thanks for providing that!), I'm not quite sure what it is you are trying to do, and where this goes awry. It sounds like DurFem should simply be presenting one image per tri…
-
Good luck! :)
-
Hi Jannis. The inline_script option is the easiest way to go, as OpenSesame does not support other coordinate units than pixels, and arithmetic operations in sketchpad's aren't supported. This doesn't mean that it has to be difficult to find a solu…
-
Yes, I think Sebastiaan meant to substract. Examples (all based on a resolution of 1024x768): Top left is (0,0) in mouse coordinates, but (-512,-384) in sketchpad coordinates. To transform mouse to sketchpad, simply substract half of the width fro…
-
Hi Kat, From you rather elaborate post, I gather that your experiment should be broken off when a participant fails on two consecutive tries of the same block-tap amounts? Even though you might be assessing the correctness of each trial in differe…
-
Hi, My first guess would be that the correct response has been specified incorrectly, but you say you have checked this. Could you perhaps post the script of the experiment, rather than just the snippet for the sequence as you have done know? Than…