eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Chris, I don't think this is how you set the volume. You probably want to use the set_config() method or pass it as keyword argument to play. Synth objects are essentially Sampler objects for which the sound is generated first. So, check out t…
-
Hi, Can you follow this syntax here? Not sure it matters, but the exp.get_file is quite outdated and not necessary anymore. So you can just leave that out. Normally, if a file is in the filepool its original location is irrelevant. Eduard
-
Hi Chris, Yes that's a small bug in the source code. Thanks for spotting. I suggested a fix and probably it is going to be resolved in the next maintenance release. Also, what is the symbol for flat, as in B-flat, if there is any? Flat is just a b …
-
Hi Mengzhu, I attach your experiment, slightly adjusted that fixes 1 and 3. 2 is also possible, just use a variable name instead of plain text. Hope this helps, Eduard https://forum.cogsci.nl/uploads/746/IE1OJRWYB3B4.osexp
-
Hi Patxi, A slightly more efficient approach would be this: kb.flush() start_time = ITI_fix.show() k, t = kb.get_key() if k is not None: trial_rt = t - start_time clock.sleep(jittered_time - trial_rt) With kb = Keyboard(keylist=['1'], timeout…
-
Hi, you probably want to change the Duration of CQS20 to 0 and not keypress . Also, I don't see a logger, where have you put it? Eduard
-
HI Patxi, Your code doesn't include how you compute the variable jittered_time Can you add that info? by the way, your trial_rt variable is computed the wrong way (not related to your question. Eduard
-
Hi Mengzhu, Have you seen this discussion? There are quite a few slider implementations floating around the forum. Most of them use mouse responses and compute the value on the scale. How about you are giving them a try and see whether what you nee…
-
Hi Eleanor, I'm wondering if it's feasible to incorporate a second screen or a pop-up with a scroll bar in my experiment No, this is not possible unfortunately. Is it possible to implement a separate screen or a scroll function in Open Sesame? Not …
-
Hi, This one has nothing to do with your earlier problem. It is a bit hard to follow you. Can you please provide more detail on what you want to accomplish, how you try it, and what the output is? Including error messages and code and preferably a …
-
You can install Opensesame with Anaconda: https://osdoc.cogsci.nl/4.0/download/#anaconda-cross-platform in the first command (conda create), you can specify which Python version you want: conda create -n opensesame-py3 python=3.8 Eduard
-
Probably your if /elif structure is not airtight. Add an else statement to find out: if var.stimulusImage == bird: var.stimulusAudio=bird_aud elif var.stimulusImage == cat: var.stimulusAudio=cat_aud elif var.stimulusImage == cow: var.s…
-
Hi, separate preparations and executions steps get rid of the sleep statement for the sound # emy_list_stimuli=[bird, cat, cow] shuffle(my_list_stimuli) #show one of the shuffled items. var.stimulus1=my_list_stimuli[0] #match images with audios if…
-
Who knows :) Let's be happy it works.
-
Hi, I just tried your experiment and experienced quite some latency. First I thought something was broken, but I could fix it, by setting the duration of the feedback sound to zero. Once that is done, the experiment progresses the way it should. So…
-
Hi Aris, there is no error in your screenshots (the blue banners are expected). I think what happens is that you use Opensesame 4 (the latest release), but follow a tutorial based on Opensesame 3. Perhaps don't watch the video, but check out the wri…
-
Hi, Can you provide the error message, or the experiment? Otherwise I can't really help you. In any case, the blue warnings are normal. Your code also looks fine. Do you run Opensesame 4, or still 3? If 3, then you should follow the tutorial for O…
-
Hi Victoria, Have you checked out the documentation? Presenting text is explained here my_canvas = Canvas() # Function interface my_canvas.text('Some text with boldface and italics') my_canvas.show() # 5 seconds, right? clock.sleep(5000) Further, I…
-
You can use a string of the filename directly in the image canvas function. You need to use the entire path of the file. You can get it from the pool object. It is actually quite well explained in the documentation. my_canvas.image(pool[var.target_p…
-
Hi Gio, I think there are only two themes. Plain and gray. They also look quite similar, so unfortunately, there are not that many options to customize forms in terms of color, etc. Eduard
-
Can you share your experiment again? in any case, it should be if target_pic == var.stimulus2: var.correct_response = 'z' Eduard
-
@sebastiaan, is this something specific to mac systems? Or related to how you install Opensesame? At least, I (linux system, conda installation) can launch two windows without problems. Eduard
-
Hi Effie, I am not familiar with the toolbox unfortunately. In any case, you should start with the easy things. Try to make the playback and record parts work separately. If they do, you can think about how to combine them. In the mean time, you ca…
-
Hi Sara, you have to launch Opensesame twice. Within one Opensesame window, you can just have one task active. Eduard
-
Hi Effie, affective breathing is not a valid file name. If it is a variable it must be encapsulated by {} or [] depending on whether you use OS4 or OS3. So for this to work, you need to start recording (and storing) before you start playbacking…
-
Hi Giulia, Normally you should still be able to use the loop table. However, depending on your setup you might need to be a bit creative with the labeling. For example, because all the videos are now in one trial, you essentially need 4 columns wit…
-
Hi Stephen, Have you checked the ongebruikte items? Perhaps you have there some inline_scripts hidden? Eduard
-
https://forum.cogsci.nl/uploads/122/MRKLE8PI7OBN.osexp Hi, I don't think this is possible with co-routines. You'll have to add the delays to the sequence following the co-routine, as demonstrated in that example. Please adapt it to your needs and t…
-
I am not sure I understand, but I don't think you need a co-routine. You want your stimulus to be visible for 250 ms, at the same time you start response collection up to 2000 ms. After the response, you don't want the stimulus to disappear, but to …
-
Hi Rania, It might help if you break down your long list of 60ish items into small chunks of 6 or so, that you shuffle each, and then concatenate them until you are happy. A similar approach worked for me, when I wanted to control certain intertria…