Avatar

Howdy, Stranger!

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

Supported by

Josh

About

Username
Josh
Joined
Visits
255
Last Active
Roles
Member, Moderator

Comments

  • Hi Sabine, Did the 'real' time also deviate below your indicated tone_dur? I suspect that there might be an 8ms lag in the initiation of the tone, but not in the tone itself, meaning that the real duration of the tone is always tone_dur. However, i…
  • Hi Sabine, If you click on your synth item in the overview, you'll see the parameter "Length" above the "Duration" parameter. That value represents how long the tone was played. If you want to control the length per condition, y…
  • Hi Hollana, My apologies, but it's not really clear to me what you want to do. The code you copied here, def clamp(text_input, min_num, max_num): if text_input < min_num: return min_num elif text_input > …
  • Hi, I'm not aware of any drawbacks occuring when you alter the resolution, as long as your computer can handle it. Of course when your experiment will start to become slower (with regard to displaying images etc) that's a clear signal you should go…
  • Yep, that's possible. Every variable that is created in an inline_script item, is available in all the other inline_script items, regardless of whether they are placed in a loop or not. If you're creating a variable that you want to be available to …
  • Hi Dan, One way to go about this would be to insert an inline_script item, where you create two lists of all the images (e.g.: real_images = ['image1.png', 'image2.png', 'image2.png']) Every trial, you'd pick a random item from each list; there's a…
  • Hi Charlotte, That depends on what your current code looks like of course! I'm expecting that you have at least two fixed pairs of coordinates in your code (top and bottom), and that you keep track of the finger position to process whether- and wha…
  • Hi Alessio, I doubt that there is a command to directly literally print something (you mean to print something on paper right?). But perhaps someone else here knows more than me! However, with the inline_script item you can always put code to writ…
  • Hi Andrea, Right before the video item, you could place an inline_script where you create a variable that keeps track of time. Normally, this would be as simple as: start_time = self.time(), whereby self.time() is a command that returns the time t…
  • Hi Andrea, I'm assuming it works correctly if people respond after that first second? What does the pop-up window say when it crashes? And another thing: do people have to be allowed to respond this fast in the first place? If not, then you could …
  • Hi Kim, I'm not that familiar with sound samples, but I'm wondering what would happen if you take longer sound samples? (For instance insert a 250ms beep instead of the samples you used). If you still get a dry click, then at least we know the prob…
  • Hi Michael, A simple solution might be that in the Pygaze_init item (which initializes the eyetracker, basically), you need to select the right eyetracker first (Eyelink in your case). If this is not it, we can go into more detail! Cheers, Josh
  • Hi Francisco, I just answered your other post (which didn't specify that the participant has to do as many trials as possible within a given timeframe by the way; this is a different story!) This should however be easier; and just like Edwin said. …
  • Hi Francisco, So the goal is to display a timer onscreen, while the participant is doing the experiment? (you didn't specify this before). Yes, you can call self.time() in an inline script. Since displaying the timer is going to be an ongoing proc…
  • Hi, Do you mean that, for example, these 12 letters appear one by one in a single trial? And what do you mean by skipping to a different block? I'm going to need some details :) Cheers, Josh
  • Hi Pepijn, welcome to the forum. It seems that you've already come pretty far in building your experiment - nice. When you click the loop item, you can check a 'show advanced options' box to reveal a 'break-if' command line. Here you could insert: …
  • Hi Vindicare, I couldn't open your experiment, but you may want to have a look at this: http://osdoc.cogsci.nl/python/inline-script/#function-__inline_scriptlog__msg Also, it would be helpful if you try to explain what you tried so far to make som…
  • Hi, You have alot of if-statements (probably more than necessary) which might have resulted in the logic going awry in some places without you noticing. At the moment, your main plan seems to be to pick a random distractor position every trial, an…
  • Hi Vindicare, I took some time to look at your experiment. The problem: in your loop item, you named one of your variables 'response', which was set to either h, b, g or l in every trial. Hence, if you use the command 'break if [response] = q', yo…
  • Hi Mona, How to go about this depends on a couple of things. For one, do people need to be allowed to press a button (and initialize the 5 second noise) multiple times during those 5 minutes, or just once in order to move on? And secondly, does the…
  • Hi Chris, You said you failed on all accounts, but in order to know what advice would best help you forward, I still need to have clear: do you have any experience with OpenSesame? (e.g. have you built other, perhaps simpler experiments before?) I…
  • Hi Kiri, Your problem description is not very clear to me. The text you want to display is doubled? It might be that you just need to clear the canvas (context_canvas.clear()) before you write text on it again. Otherwise, the things written on yo…
  • Hi there! I assume you already have the first part running? (i.e. press q as fast as possible). How to go about realizing this stop button might depend on how you've constructed the experiment so far. For instance, if there is a loop repeating inde…
  • Hi Johannes, I just answered your previous question, and I think the same strategy can be applied for this one. Hence, you place the form in a loop sequence together with the item that plays your sound, and for the sound item insert a run-if comma…
  • Hi Johannes, It seems that there is no simple option or command to take care of this directly (based on http://osdoc.cogsci.nl/forms/form-variables/#in-custom-forms) However, when no choice was made, the my_response_var would be set to 'no', and y…
  • Hi Tali, I seems like you want to set the fontsize based on the experimental condition, is that right? (Rather than having the same font size all the time; because in that case you could simply change it in the upper item ('general properties') of …
  • Hi Krishnan, welcome to the forum! You won't have to be a programming expert, but it may be wise to just go through these tutorials: http://osdoc.cogsci.nl/tutorials/ (especially since you not only need this knowledge to get your Tobii to work, bu…
  • Hi Tali, In case you can't work around this problem, you could also simply put all the picture names in a list, and then use random.shuffle(list) and list.pop[0] to take one picture every time you go through your main loop. Good luck! Cheers, Josh
  • Hi Karen, This is odd, normally it should work; (at the moment however, the program would only advance when the timeout has passed AND a key is pressed; I'm planning to fix this sometime this week). If I give timeout the value 300000 (= 5 minutes) …
  • Hi Deniz, I answered your other post. Further, if you want to collect a text input during a sketchpad item, I assume you want to display images while texts are collected? I don't think you can do something like that with a sketchpad item. Rather, …

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