eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Unfortunately your script is incompatible with my version of Opensesame (I can't install pyaudio, and you use python2, but I Python3), but from looking at your code, I have the hunch that the code: myrecording = sd.rec(int(seconds * fs), samplerate…
-
Hi, I think most windows based tablets should be fine. See this discussion: https://forum.cogsci.nl/discussion/4739/opensesame-for-windows-tablets Eduard
-
have you checked the consistency of the delay as I suggested?
-
Yeah, Umlaute (as well as white space) is not ideal for file names and directories. I'd change that to something simpler (e.g. katkue?). But nice that it is fixed. The delay might come from running it on the USB. However, a doubling of the present…
-
incorrect: [correct] = 0 and [response] != None miss: [correct] = 0 and [response] = None
-
Hi Kim, I think you can use [response] = None to check for a not-given response. Importantly, you have then to add [response] != None to the incorrect condition, because as you noted, in both cases correct = 0. Eduard
-
Hi Kim, What is your issue? Similar is not he same, so we can't help you, if you don't provide details. What do you want to accomplish and where does it go wrong? Eduard
-
aha, okay. So, only the write file issue left. The error message is probably misleading. You probably have the rights to write files to your desktop, but the problem is related to the wrong paths or folders that don't exist. It is hard to really cl…
-
Hi Katherina, I just checked the code and it works fine. It writes a file after a file is recorded for 3 seconds. However, it does not produce a voice key, so there is nothing happening once you start speaking. For that you would indeed need a voice…
-
Hi Luca, Now, i see what you mean. Yes, that looks like an issue. But what @Candice said makes sense I think. Try setting the resolution of the experiment (in the experiment tab, first item in the overview area), to the resolution of the screen tha…
-
Hi Thomas, Just to be sure that this isn't the issue, when I run the experiment in Opensesame, I get the same issue, but running in the browser seems to work. I have to admit that I haven't checked whether all the variables make sense, and the behav…
-
Hi Angelina, Okay, can you maybe open the console of your browser (for firefox ctrl+shift+k) and check whether there are any error messages in there? Maybe that is actually not a mac issue, but a browser issue. I think Safari is primarily used on MA…
-
Hi Arno, Have you tried using this code: try: from ctypes import windll global io io = windll.dlportio # requires dlportio.dll !!! except: print 'The parallel port couldn\'t be opened' in the beginning of your experiment (before you…
-
Hi Hülya, If you need to record 10 responses, you have to call the word_frag_sequence ten times and log the response at the very end of each iteration. So basically, for each response you want your participants to make, you need to run the entire …
-
Hi Hülya, I assume you need this for OsWeb (even though you put it on the Opensesame forum). If you actually need it for offline Opensesame, there is no need to use javascript. I don't think I understand your issue or your approach. Would you mind…
-
Not sure, but I think a way is by using the soundFile library. In any case, you can check out this documentation here: https://python-sounddevice.readthedocs.io/en/0.3.12/examples.html in particular (recording with arbitrary duration). It probably …
-
Hi Tom. Can you use the include method? See the attached script. I checked whether the variable response is present in the variable correct responses. If it is in there, the output is correct, if not the output is false. Those 2 variables can then b…
-
Hi, I was trying to give an example of javascript coding. I don't know whether and how you can access items in a javascript inline script and execute them from there. I just tried to dig in github and the console to find where items are stored and…
-
Hi Angelina, Could you provide more information on the issue? Is there an error message? Have you checked the console in the browser? Maybe your participants can send you a screenshot of it. I don't know what could be the issue. Do you happen to h…
-
So? Does it work if you specify that path?
-
Hi Katherina, You don't seem to have permission to write files where you are trying to write the files to. Can you specify a full pah to your desktop? I don't know what exactly it is (also depending on your operating system, but something like: C:/…
-
top!
-
Hi Christina, You can still disable them. You just don't have the checkbox anymore. But of you open the general script (in the same tab), one of the first parameters that is being set, is uniform coordinates, and when I tried it, it actually does c…
-
Hi Christina, I am a little disappointed about the wildness of the situation. It behaves exactly like I would expect. Your relative experiment has (0,0) defined as the middle of the screen. If uniform coordinates is enabled, the dot appears in th…
-
I'll look into your experiment later today. Sounds wild indeed. However, the error message that you see is unrelated and shouldn't worry you.
-
Hi, Why did you use the pygaze_log item then? To run an experiment in which participants need to listen to 2 samplers in succession and make a decision about them, can easily by done in Opensesame and also run online. Why would you need an inline_…
-
And like Sebastiaan, already told you, please don't post the same question multiple times. I haven't seen that he already replied to you (and his suggestion probably making more sense). Thanks
-
Hi Nikita, Yes you are right, your first line has no javascript equivalent currently. A way to bypass this issue is to use two regular keyboard response items. The first one running for 500 ms, the second for 500-the response time of the first keyb…
-
https://forum.cogsci.nl/uploads/596/UXINPQQK0AXA.osexp Hi Maike, In the attached example you can repeat the practice as often as it makes you happy. The problem was that even the practice itself could have been repeated unlimited number of times, t…
-
Hi Christina, As is correctly described in the comments in the beginning of your script, Pygaze uses the top left as origin of the coordinate system (0,0), whereas the default in Opensesame is the middle of the screen (which apparently cannot be ch…