Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Katharina

About

Username
Katharina
Joined
Visits
267
Last Active
Roles
Member

Comments

  • Hi I know its an old tread, but maybe I can still ask. Why does JASP add random slopes and subject to bayesian rmANOVA? Thanks!
  • Thank you eduard. Well I cannot play any tones and there are hundreds of trials so I would like to spare doing any manual work. Is there any other possibility to fix the inline for three screens? I dont care either what they say, nor the screen. I j…
  • Ok, thank you! It does get complicated when one has many factors :) But so I thought...
  • Thank you for your quick answer. This is all clear. I still do not understand what Color (1) Estimate SE...etc Color (2) Estimate SE etc... would mean Is Color (1) and Color (2) - a contrast between all and red and blue or something else? Beacuse u…
  • wow, that easy! Many thanks!
  • Thank you very much, @eduard I was thinking that the keyboard response is somehow stored somewhere and interfers. The problem is that it is even more complicated as it is in the Test :) I have larger loops, with the blocks within. https://forum.cog…
  • Thank you! There either a response (within the ITI) or not, that's why I need a flexible ITI Yes, I figured out the negative values, but it's only when there is no response, that's why I had to do it in that complicated way
  • But does the inline if self.get(u'response') is not "None": self.sleep(3995 - trial_duration - prepare_duration) not do that? Anyways, now I checked the timing, it's always about 1000 ms between the trials (ITI)! Very cool! The perfect…
  • yes, I also changed it to var.duration but it did not help. I cut the experiment file only to the necessary to test. Thank you again! https://forum.cogsci.nl/uploads/513/OZM2IKCDSHW4.osexp
  • Thank you! Unfortunately, it did not help to have the solution but at least I don't get the error. But neither in preparation nor in run it is not removing the prepare-duration so that the ITI is always around 1300 instead of 995. Int() did not help…
  • Thanks for asking! In fact, I decided to record with a separate device after we realized that this recording would most probably interfere with timing which should be very precise in our experiment. I still havent figured out the VP-1 though :) this…
  • Thank you! Maybe the problem is that I am putting [timeout] into the timeout window of the keyboard element (where it says please an interger or infinite). I guess it doesnt work like this?
  • the issue with the correct response is solved but the timing issue is not. My total preparation time (prepare_duration) is about 300 ms. I want the ITI to be fixed 1000 ms (either waiting for response = timeout) or sleeping the rest to get 1000 in …
  • Hi! Sort of :=) and the important thing is that the presentation should NOT end with response
  • I think now that I added an inlines trial_duration = clock.time() - run_onset if trial_duration < 3990: self.sleep(3990-trial_duration-prepare_duration) AND if self.get(u'response') == var.correct_response: var.correct = u'1' else: var.co…
  • Thanks a lot! I own you many coffees :D
  • yes, if it's not recording into a file, it is more or less accurate. I also think that i does the delay but I do not see how this piece of code stream = pyaudio.PyAudio().open( format=FORMAT, channels=CHANNELS, rate=RATE, input=True, input_de…
  • yes, I reduced blank, time_out and self.sleep by half (so it should be 1 s in total), but it's 3 sec now. I believe it somehow has to do with the recording time. It's variable but as far as every trial is recorded, I dont care for some "blank&…
  • Many thanks! https://forum.cogsci.nl/uploads/557/B6H4BKUM3JGA.osexp import pyaudio import struct import math  # A low threshold increases sensitivity, a high threshold # reduces it. We need to play around with it.  sound_threshold = 0.02 # Maximum…
  • I mean, seconds of course :)
  • Thanks a lot! I realized that this very error was because of my account name with ü, changing the account did not change the path. I recorded it on a neutral USB stick and it worked. But! It only records the very last trial. Moreover, it somehow en…
  • Thanks a lot! I always get IOError: [Errno 13] Permission denied: 'output.wav' I specified the path and everything but still. Having reponse a s voice key I finally managed :) thanks to you all but now it would be nice to have a wave file. Do you h…
  • Thanks, but I mean I am not allowed to update anything in any way :) it's not about admit right which I have :) I mus word only with this version
  • Thanks for your promt reply. Unfortunately I have no rights (don't ask why :) to update this very OpenSesame PC. So I will have to work with 3.1.9. is there any way out to install pyxid2?
  • https://forum.cogsci.nl/uploads/423/IOMXWAY9D1DG.jpg
  • Hello me again. I can't import pyxid2, I get an error no pyxid2 found I have open sesame 3.1.9, python 2.7.12 Many thanks
  • I would be all right when it just records 1 s, the responses are around 500 ms, I can cut the rest if I want but it's more of a document WHAT they say not how. I believe I am placing that in a wrong place import sounddevice as sd from scipy.io.wa…
  • Still get an error IOError: [Errno 2] No such file or directory: 'C:\\Users\\Katharina Kuehne\\Desktop\\output.wav' Maybe I placed it in a wrong way import pyaudio import struct import math  import sounddevice as sd from scipy.io.wavfile import …