eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Ah, I see. The keyboard item was missing in your example. Now, i can reproduce the error. Would you mind filing a bug report on github? Briefly describing the issue and uploading your example (with a keyboard item)? That would be very helpful. http…
-
In your loop table, every line corresponds to one trial. So every time that you start a new iteration, item_level is set to the value that you see in the loop table. The adaptive character will be lost. You probably have to remove this columns alto…
-
Hi, Not sure what you mean. When I run your example (and add [response_limit] to the duration field of the sketchpad), the screen remains visible for 1 second no matter whether run in the browser or locally. I am using firefox. Eduard
-
If I am not mistaken, opensesamerun.bar is indeed the one you want, but best try it out with an experiment (maybe a quick example experiment that has the minimal elements. If you have created the experiment with the GUI, you can save it and then run…
-
Hi Stephen, Generally, this should be possible. I don't know enough about js to check your syntax. Better just try it out yourself. Small note: Most shuffle functions don't return a shuffled object, but only None. So first shuffle, and once you sh…
-
I understand that. To have a flexible ITI your procedure is fine. All I am saying is that you should not make the response period in your ITI flexible (if it is 1 seconds max), but only the time that follows after. Currently, there is no time after,…
-
I am confused. This inline_script is indeed the way to go if you want to have constant ITIs of 4 seconds. However for have such ITIs, there is no need to set the timeout of the mouse response dynamically. If you always fix it at 1000 ms. You can sti…
-
HI TZ, For a starter, your first line var.item_level == 3 only checks whether the current item level is 3. It doesn't do anything in the sequence, if you want to set the item level to 3, you need to use var.item_level = 3. However, if you want the …
-
Okay, a couple of things: prepare_onset = clock.time() run_onset = clock.time() prepare_duration = run_onset - prepare_onset prepare_duration will essentially be 0, as the time between the 2 clock.time() calls is virtually identical. So, if you wan…
-
Oh sorry, there was a stupid mistake: var.duration = clock.time() - prepare_onset print('prepare duration: {}'.format(var.duration)) ITI = 995 var.timeout = int(ITI - var.duration) Actually, given that the code above didn't throw an error is weird …
-
I don't think so, but you can give it a try: var.duration = clock.time() - prepare_onset print('prepare duration: {}'.format(var.duration)) ITI = 995 var.timeout = int(ITI - prepare_duration) So, it still does not work? Have you tried the prepare-…
-
Okay, so that seems to work. Have you put your script in the run phase or prepare phase of the inline_script? Try the prepare phase. In general, I don't really have a clue what is happening. I am just trying out things here. If you upload your expe…
-
Sorry, the last one was meant to be: console.log('Mod OF ID IS = ' + vars.id%12) Can you try again?
-
can you add the very end of this inline_javascript: console.log('ID IS = ' + vars.id) console.log('TYPE OF ID IS = ' + typeof vars.id) console.log('TYPE OF ID IS = ' + typeof vars.id) Just to find out which value the ID variable has. If you run i…
-
How do you save the id variable? It must be of the form vars.id = <value> How exactly does it not work actually? Is always the same list selected? Could you share your code?
-
Hi Hülya, Yeah, I see what you mean. Ideally you would have started a new discussion, but now we can also just do it here. Don't worry. About this issue here, if I understand correctly, you want to do counterbalancing across participants (12 uniqu…
-
Hi Stephen, Couldn't you prepare the schedule offline before the experiment starts and then just load the loop table from a csv/excel file? I am not sure whether I understand the motivation behind your example script correctly, but from what I see …
-
Hi Nathacia, Unfortunately this functionality does not exist in Opensesame. You cannot extract the underlying Python code from the GUI. Sorry, Eduard
-
Hi Katharina, No need to make it so complicated, this script does the same thing as yours; var.duration = clock.time() - prepare_onset print('prepare duration: {}'.format(var.duration)) ITI = 995 var.timeout = ITI - prepare_duration So, in terms o…
-
Hi Lisa, As you describe yourself, you can't have two eye trackers running in the same experiment with Opensesame and Pygaze plugin. I am not sure though whether this generally impossible, or could work if you used direct coding (e.g. in Python, ma…
-
Hi, Can you provide more information in how far this does not work? The code looks fine to me. Maybe the positioning in the experimental sequence is wrong, but without more detail, it is hard to pinpoint what is happening. Eduard
-
Hi Jens, I can't say much to the specific issue you are reporting here (neither have I ever worked with Macs, nor with the soundrecording plugin), but I would generally advice against using that plugin as it is quite outdated and probably won't wor…
-
Hi Marie, Yeah, that plugin exists but I wouldn't expect it to work still. On the forum there are a number of python code implementations of sound recording. For example here: https://forum.cogsci.nl/discussion/5965/voice-key-recording This discus…
-
Hi Marie, I'll move to the mosuetrap part of the forum. Maybe @Pascal has seen this error before. Maybe in the mean time you can also provide us with the Opensesame version that you have installed and which Operating system you are working on. Tha…
-
Hi, Can you share the experiment? This sounds like a problem. Eduard
-
Hi Hülya, I unfortunately don't know much about HTML or Javascript myself, but if this is browser specific, could you not require your participants to use specific browsers? @kri Have you seen this error before? Is it something that Jatos settings …
-
Hi, Do you think using android instead of windows tablets could cause us problems and it would be “safer” to buy windows tablets? Yes, there is a fair chance that by running the droid backend will cause issues. Of course you can be lucky and the sli…
-
Hi Marie, My advice depends a little on your setup. My approach would be to make as many files as you have, each having stored one sequence in it. The filename should be something standard with only the index being different. For example, 'trial_se…
-
Just of curiosity, did it work eventually? Eduard
-
That part only initializes the stream, the reading and writ should happen later.At that stage, if you don't know how exactly it works, it is a lot of trying out. You can check PyAudios documentation and what possibilities there are to write files. T…