Josh
About
- Username
- Josh
- Joined
- Visits
- 255
- Last Active
- Roles
- Member, Moderator
Comments
-
Hmm, in that case the style parameter may be broken for the Ubuntu OS.. I take it that your code works when you remove style from the command, albeit with a fixdot that is too large? @Sebastiaan, I tried to access the fixdot code in Github, but cann…
-
Ok! And yes - let me know if any problem occurs again. Josh
-
Hi, I don't have Ubuntu to test this on, but does style = u'small-open' work? (thus, with the insertion of a u). Cheers, Josh
-
Hi, The most 'OpenSesame way' to show a plot would indeed be through canvas.image() I think; although there is a much easier and more direct way to present random dots on a canvas. In an inline_script, you could do the following: import random …
-
Hi Ashley, did you put the for-loop part in the 'run phase' of your inline_script? (Everything before the for-loop can be kept in the 'prepare phase') Cheers, Josh
-
Hi Johanna, How do you create (draw) the superimposed pizza slice? Do you have 8 sketchpads in a sequence item, or did you with 'sequence' refer to e.g. a for-loop? As far as I can see, you would need to create 16 canvases beforehand (inline_scrip…
-
Hi Tali, Check out this thread: http://forum.cogsci.nl/index.php?p=/discussion/6/solved-voicekey-input-triggering-responses-through-sound-input/p1 It seems to be possible :) Cheers, Josh
-
Hi Anne, Never having worked with forms myself, I tried to find out if there was anything to regulate timing-related things like these, but I'm not sure yet. @Sebastiaan, do you have an answer here? If not, we would have to work with inline_script…
-
Hi Mihailo, You can use so-called forms to collect your responses. Check out this page: http://osdoc.cogsci.nl/forms/ for detailed instructions (and the rating scale functions in particular). Previous questions about the likert scale: http://www.…
-
Hi Ashley, This can't be due to position being 'none', as line 30 indicates to only run line 32 if position is not 'none'. Are you sure you defined your x_min, x_max, y_min and y_max somewhere? Cheers Josh
-
Hi Joshua, No experience with external python scripts here, but are you sure you can't just incorporate everything in an inline_script item? Cheers, Josh
-
Oops, I made a mistake there; it's while correct_response_given == False:, so, with two equals signs instead of one! For all logic statements (such as "if this" or "while that"), 'equals' is denoted with two equals signs. The si…
-
Hi, The random option in the loop window applies to the variables you indicated there (and thus to the conditions your trials will appear in); not to the items you place in a sequence. The sequence will always run its items in the order you placed …
-
Hi Johanna, There's always the possibility that your experiment could be programmed to run faster. Did you create your stimulus displays beforehand? (so that you only have to show them during the trial with canvas.show()). In general experiments sh…
-
Hi Ashley, Firstly, yes it is possible to collect all mouse responses and stop when the correct location in your stimulus has been clicked. In your inline_script you could start off by defining that location: e.g. x_min = 50 x_max = 55 y_min =…
-
Any time!
-
Hi Ram, Wow, that's not an easy feat. It would be fairly easy using a single screen. If there's a way to trick your computer into believing there's just one screen when you actually use four monitors, then you could also use the OpenSesame interfac…
-
Hi Steffen, The only thing I can think of, is to implement the keyboard response inside the custom code window, rather than to use a keyboard_response item (don't know if you did?). The idea would be to check every frame if a key was pressed - and…
-
Hi, Answer to your question: no. The show if statement is to indicate the condition under which your sketchpad must be shown. We can assume that you want to show your sketchpad regardless of condition, so it's better left at the default setting (&q…
-
Ah, that's because you need to 'set' the variable, making it available outside of the inline_script you created it in: frame = 0 exp.set('frame', frame) And in the custom python code window: exp.set('frame', exp.get('frame') += 1) Hope this…
-
Hah alright. Here, have a digital rose, (no romance intended)
-
Hi Steffen, Yes it is possible to script on the frame rendering loop of the video player (if you're talking about the media_player_vlc item?). Clicking on that item in the overview window, you can set the Call custom python code parameter to "…
-
Hi, Are you running your experiment on a tablet or a desktop with touch screen? I don't have experience with touch screen computers, but I'm wondering if there is a cursor at all? I would think that any touch screen interface works with touches (eq…
-
My bad! I assumed a priori that any method to disable a key could also be applied to the escape key.
-
Hi Dror, I know that this can be a nasty problem. The most direct solution would be outside OpenSesame: http://www.cogsci.nl/forum/index.php?p=/discussion/1554/open-blocking-command-key#Item_2 Good luck! Josh
-
Hi, Are you sure the variable "sub_score" is an integer as well? Cheers, Josh
-
Hi Aviv, It depends on what parameters you have aside from 'priming type'. From your plan it seems that you want the possibility that something (aside from priming type) randomly occurs in one block but not in the other? (Otherwise you could've jus…
-
Hi Troy, It seems that you picked all your variables thoroughly; (but next time you might want to use a for-loop to mix 'n' match the pictures, so that you don't have to write 100 lines of code!). Honestly, the easiest way to finish up, now that yo…
-
Hi Aviv, At the top of your experiment in the overview window, you can set the font from 'mono' (default) to 'hebrew'. This should take care of OpenSesame's ability to display Hebrew characters. To reach your goal, i.e. displaying images, providin…
-
Hey Ulrik, I tested the form_text_display item (I suspect this is the same thing as the text_render item you're talking about) on my Windows computer and here changing center="no" to center="yes" works just fine. I thus suspect …