sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
(Quote) No, the way that form responses are coded is fixed. However, you can recode your responses afterwards, so that they are easier to log, or contain information about correctness etc. You can see an example of how this is done in this discussio…
-
(Quote) Closed, as a new discussion has been opened for this question (#1123).
-
(Quote) Right, so that's what the discussion I linked to above is all about :p. See especially this comment: * http://forum.cogsci.nl/index.php?p=/discussion/comment/845#Comment_845
-
Hi, If you want to write your words to a temporary file, you could do this as follows. First, before the training block, open a file (my_file) in write mode. import osmy_path = os.path.join(exp.pool_folder, 'my_file.txt')my_file = open(my_path, 'w…
-
Hi Johan, I cannot really tell from your example what goes wrong, but the instructions in my previous post should work. Except for this, which I hadn't considered: (Quote) I forgot that the variable response does not exist at the beginning of the …
-
Hi, The problem is the time at which forms are prepared. OpenSesame uses a prepare-run strategy, which is explained here: * http://osdoc.cogsci.nl/usage/prepare-run/ In all likelihood, what happens is this: * TargetSelect is prepared * Targ1 is …
-
You can find a very useful discussion about about validating form input here: * http://forum.cogsci.nl/index.php?p=/discussion/197/ Essentially, to validate form input, you will need to implement some checks in an inline_script and, if necessary, …
-
(Quote) Your contribution would be most welcome. You could take a look at the other plug-ins to see how those are implemented. It's not too difficult, really. * https://github.com/smathot/OpenSesame/blob/master/plugins/form_text_display/form_text_d…
-
Hi, A canvas object is static, so there's no way to play video with it. Of course, you could present an animation by showing many canvases after another. But this is impractical for video playback. What back-end do you use? If you use the legacy b…
-
Closed as duplicate of #1118.
-
Hi, So, if I understand correctly, you basically want to read in a list of words, shuffle it, and present the words one by one. That's it, right? You've already got the first step covered: Loading and shuffling the list. You should do this in the …
-
Hi Simon, There's currently no way to easily implement pseudo-random orders, although this issue has come up a few times here on the forum, and an issue (#272) has been filed for it. You may want to take a look at this discussion: * http://www.co…
-
(Quote) No that's correct, there's no rating scale plug-in. Might be something to add, though. Regarding the problem. Based on your description I cannot tell what the problem might be. (Or well ... it's clearly some kind of recursion issue again.) …
-
Hi Nynke, (Quote) Only nice folk here, don't worry. Your problem is an interesting case of recursion, or rather something that is recursion-like. You have told OpenSesame to use a response variable of which the name is itself defined by the variab…
-
(Quote) This depends on the behavior of the program. Most webbrowsers will check to see if another instance is already running, and, if so, open the url in a new tab within an existing instance. But apparently the software that you use doesn't do th…
-
Hi, You cannot easily copy stuff from an OpenSesame experiment to the clipboard, because what you see during an experiment is essentially a slideshow of pictures, which the operating system doesn't know how to copy/paste from. In your case, would …
-
Hi Merle, You define the envelope of the synth object with two parameters: The attack, which specifies the time it takes to reach full volume, and the decay which is the time it takes to go back to silence. So to fade out, instead of fading in, you…
-
Hi Daniel, Yes, as it happens considerable work has been done on integrating the Eye Tribe into OpenSesame. This functionality is part of PyGaze, which is a general Python library for eye tracking. A set of plug-ins integrates PyGaze into OpenSesam…
-
You can open the General script (General properties -> Edit script), and copy the definitions of the items that you want to import into the General script of another experiment. Cheers! Sebastiaan
-
Hi Joshua, Well, one thing that is clearly wrong with this script is that the while loop will never ever break. So once the while loop starts, OpenSesame will freeze until you forcefully close the program, which is probably not what you want. Inste…
-
Hi Olya, Yes, these lines appear to be correct. (You can find the exact syntax in the DataViewer manual, available from the SR Support forum.) (Quote) Well, OpenSesame doesn't load images into the DataViewer. The only thing that it does is write s…
-
Hi, If you want to implement these kinds of dynamic stimuli, you'll have to use Python scripting. You will find various discussions on this forum, showing sliders, etc. For example here: * http://forum.cogsci.nl/index.php?p=/discussion/827 This s…
-
Hi K, Right, I think we're misunderstanding each other here. What I wrote ("[Video1]_[Video1_nr]"avi) was not intended as a suggestion, but it's what I figured you might have done, and should not. What you should do is something like thi…
-
Hi Ilkka, That looks like an interesting project! In principle, what you ask is all possible, but whether it's feasible depends on how much time you're willing to invest. If you want to bypass the start-up menu, you'll have to slightly modify the…
-
Hi, It looks like the definition of a sketchpad element became corrupted. To fix this, you can open the script in a text editor, find the offending line, and fix it. Presumably, you will notice that there's something wrong with the quotation, i.e. …
-
Thanks, marking as solved!
-
Hi, I wouldn't say that there's necessarily anything wrong with setting the number of repeats to a very high value, but alternatively you can add a repeat_cycle plug-in to the sequence that you want to repeat. This has a 'repeat if' statement, whic…
-
Hi @Hansika, Congrats on the publication and thank you for sharing the experiment! I received the Google Drive link, and I would be more than happy to include the experiment (which appears to work just fine) in the standard tasks section. I could …
-
Hi K, Based on your error message ... 'video file "1_1"avi was not found by video player, 'video1' or no video was specified.' ... it looks like a typo in specifying the video file. Have you typed something like: "[Video1]_[Video…
-
You mean whether you can retrieve variables that you have chosen not to log? No! Not logged means gone forever. That's why the select-all option is on by default. If you want to have clean log files, you're probably better off by simply hiding all …