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
241
Last Active
Roles
Member

Comments

  • 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 …
  • thanks for a speedy reply @eduard It's C:\Users\Katharina Kühne\Desktop
  • Many thanks for this great suggestion. I added run_onset = clock.time() prepare_duration = run_onset - prepare_onset print('prepare duration: {}'.format(prepare_duration)) var.duration = prepare_duration and then if loudness > sound_threshold: s…
  • Thank you for your answer. I have now tried import sounddevice as sd from scipy.io.wavfile import write fs = 44100 # Sample rate seconds = 1 # Duration of recording myrecording = sd.rec(int(seconds * fs), samplerate=fs, channels=2) sd.wait() # …
  • I now actually set sound duration to 945 and added an inline AFTER the voice key script if loudness > sound_threshold: self.sleep(945-response_time) else: self.sleep(0) It's just intuition, but seems to work, the lap between sound_onset is abou…

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games