eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Boris, I don#t have much experience with the soundrecorder plugin. In fact, when I tried to install it and help someone recently, I couldn't make it work. So, I don't know the reasons or the solution to your problem. But the symptoms you describ…
-
Hi Amihai, Good to know it works. (Quote) Maybe this discussion helps: https://stackoverflow.com/questions/227459/ascii-value-of-a-character-in-python
-
Hi, If participants respond slower than 1 second, than the response time will have 4 digits. If they are quicker there will only be 3 digits. What exactly is the problem with that? To me it sounds very logical. Eduard
-
Which version of Opensesame do you have? If it's an older one <3.0, you can try to replace the var with exp. Eduard
-
Hi Vicky, if you prepend your variables with a var, they will be added to the logfile (of course, only if you have a logger item placed after that. e.g. x_a1 = exp.get_file('x_a.png')x_b1 = exp.get_file('x_b.png')x_c1 = exp.get_file('x_c.png')x_d…
-
I can confirm that expyriment and legacy refuse to display .bmps when using the canvas functions, whereas psychopy works. (And .jpgs work as well with all backends)
-
Hi Nelly, The reason you don't find anything on the Opensesame documentation is that it is not an Opensesame question. The code you write in inline_scripts is basically plain Python code, so in order to find specific commands regarding syntax, etc.…
-
b) clock.sleep() pauses the experiment, but it doesn't stop processes that were started and don't depend on Opensesame anymore, e.g. playback does not stop. therefore, I don't think that the clock.sleep() causes your issues. But still, you can try i…
-
I'm very sorry, but I have to skip this one. I just tried to install the plugins (and in particular pymedia) on my system but kept on failing. Therefore, I can't try your experiment and see what is going on. Sorry :disappointed: Eduard
-
Also, I don't know how useful it is to you as you are using it in forms, but you can emulate a mouse with this python code here: cv = canvas() # make a canvas to present your stimulims = mouse() # create a mouse objectms.show_cursor(False) # set th…
-
upload it somewhere and post the link here. Or reduce the size of it. 1-2 trials would be enough to find out what is going on, I wouldn't need all the necessary files to look at the error you get, right? Eduard
-
Hi Sadek, Maybe it is worth to checkout different backends? It won't give you the possibility to customize the mouse, but the default values could be different and more acceptable for your case? Eduard
-
Hi Bob, Could you upload the experiment? (And necessary files in case it depends on something) Eduard
-
Hi Peter, I don't work with forms myself, but could this function turn out to be useful to you? Basically, providing the val, that you want to set your variable to? eduard
-
Okay. Then I don't know myself. Maybe you can access the joystick in an inline_script? Similarly to how you can access for example keyboards. Then you can implement an if statement that makes sure only a certain response is triggering the continuati…
-
Hi Amihai, A correct response is only updates after the response was given which happens in the run phase of your experiment (if you implemented your experiment in the standard way). If you define your variables there, does it still not update? If …
-
Hi Anoop, So the issue occurs only sometimes? But not always? Which backend do you use? And did you try other backends? Eduard
-
Hi Philip, That problem is really not trivial. I'm not sure what is the best way to go about this. From a performance perspective videos would probably make most sense, but then you lose all the flexibility of course (or you would have to prepare a…
-
Hi Matanel, I think I answered your question in this discussion Let me know ( in that thread) if you need more help. Eduard
-
Hi Matanel, Why do you want to write a new logfile? To be precise, you are describing two issues that are unrelated: 1) How to define a new variable based others, 2) How to make anew logfile To solve your issue, remove the brackets [ ] in your fun…
-
Well, then use the image draw function with its scale parameter: http://osdoc.cogsci.nl/3.1/manual/python/canvas/#function-canvas46image40fname-centertrue-xnone-ynone-scalenone41 Eduard
-
Hi Sadek, Sorry for the delay, it took me some time to get the mousetrap plugin installed. I looked at your experiment and to me it looks alright. The mouse is black, but there is a white frame drawn around it, so that you can always see it. Is th…
-
Hi, Simple inline_scipt example: cv = canvas() # create a canvaskb = keyboard(timeout = 2) # create a keyboardstart_r = 10 # initial radiusrate = 100 # rate of increasecv.circle(0,0,start_r, fill =True) # draw a balloont0 = clock.time() # starting…
-
Hi, I haven't tried it a quite a bit of time, but you can either extract the file with an archiving program (7zip, winrar,etc..) and then open the extracted file with any texteditor, or open it directly with a text editor. Once you see the source …
-
Hi, I have literally no idea about Joysticks or that plugin, but the error you describe usually occurs if you forget the [] in Opensesame items (see here) . So maybe try something like: [joyaxismotion]? Sorry for not being a better help here. Edu…
-
Hi, If you mean free eye trackers, I don't think there are any. If you mean opensource software to access eyetrackers, you should check out Pygaze. However, if you want to use webcams, than you don't need pygaze either. Then you should just google…
-
Hi, It is very feasible. see the attached experiment as an example. You will need to create a form for that. Good luck. Eduard
-
I changed two lines in the prepare phase of that inline_script. Let me know if you don't understand why it makes the difference. Eduard
-
Yes, they are time in ms, measured from the start of the experiment. You cannot access it if you mean by it that you change that object retrospectively. But of course you can access it if you evaluate the time stamp on line. To do it, you will hav…
-
Hi, I haven't, but if you give a little more detail on the task, I might be able to give you some pointers to a way of implementation. eduard