Howdy, Stranger!

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

Supported by

[open] series of digits-one-by-one&multiple responses

edited March 2014 in OpenSesame

Hi opensesame dudes !
I am learning opensesame and I want to make an experiment in which 9 digits will be presented on the screen one by one in random order (different for every time) and then the participant will have to press the digits in the correct order of presentation.Is it possible to constuct such experiment without using inline script ?And if this is not possible, what is the most simple solution for a begginer ?!thanx a lot ! =)

Comments

  • edited March 2014

    I also tried this script which i found in the forum

    # Generated by OpenSesame 0.27.4 (Frisky Freud)
    # Wed Oct  2 19:55:17 2013 (posix)
    # <http://www.cogsci.nl/opensesame>
    
    set foreground "white"
    set subject_parity "even"
    set description "A template containing a practice and an experimental phase"
    set title "Extended template"
    set compensation "0"
    set coordinates "relative"
    set height "768"
    set mouse_backend "xpyriment"
    set width "1024"
    set sampler_backend "legacy"
    set keyboard_backend "legacy"
    set background "black"
    set subject_nr "0"
    set canvas_backend "xpyriment"
    set start "experiment"
    set synth_backend "legacy"
    
    define inline_script create_list
        set _run ""
        ___prepare__
        # Create the to-be-filled list:
        digitSpan = []
        # And make it global so that it can be used in future inline_script items as well:
        global digitSpan
        __end__
        set description "Executes Python code"
    
    define loop block_loop
        set repeat "1"
        set description "A single block of trials"
        set item "trial_sequence"
        set column_order "currentDigit"
        set cycles "10"
        set order "random"
        setcycle 0 currentDigit "1"
        setcycle 1 currentDigit "2"
        setcycle 2 currentDigit "3"
        setcycle 3 currentDigit "4"
        setcycle 4 currentDigit "5"
        setcycle 5 currentDigit "6"
        setcycle 6 currentDigit "7"
        setcycle 7 currentDigit "8"
        setcycle 8 currentDigit "9"
        setcycle 9 currentDigit "10"
        run trial_sequence
    
    define inline_script append_to_list
        set _run ""
        ___prepare__
        digitSpan.append(self.get('currentDigit'))
    
        print digitSpan
        __end__
        set description "Executes Python code"
    
    define sketchpad sketchpad
        set duration "0"
        set description "Displays stimuli"
        set start_response_interval "no"
        draw textline 0.0 -192.0 "[currentDigit]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always" html="yes"
    
    define sequence experiment
        set flush_keyboard "yes"
        set description "The main sequence of the experiment"
        run experimental_loop "always"
    
    define sequence trial_sequence
        set flush_keyboard "yes"
        set description "A single trial"
        run sketchpad "always"
        run append_to_list "always"
        run keyboard_response "always"
        run logger "always"
    
    define loop experimental_loop
        set repeat "1"
        set description "A loop containing one or more experimental blocks"
        set item "block_sequence"
        set column_order "practice"
        set cycles "1"
        set order "random"
        setcycle 0 practice "no"
        run block_sequence
    
    define keyboard_response keyboard_response
        set description "Collects keyboard responses"
        set timeout "infinite"
        set flush "yes"
    
    define logger logger
        set description "Logs experimental data"
    
    define sequence block_sequence
        set flush_keyboard "yes"
        set description "A sequence containing a single block of trials followed by feedback to the participant"
        run create_list "always"
        run block_loop "always"
    

    but the problem is that you should give an answer after each digit and i want to see all the digits and then answer. Also i dont know how to collect the answers.I used a "text-input" but i think this is not the best solution !

  • edited 4:45AM

    Hi,

    Welcome to the forum!

    It's a bit unclear to me what you want to do exactly. Your first post suggests that participants have to recall the digits after they have been presented, but your second post states that participants have to give a response immediately after each digit. Could you describe in more detail what kind of paradigm you want to implement exactly?

    Cheers!
    Sebastiaan

  • edited 4:45AM

    Hi Sebastiaan !Its ok !I have figure it out with the visual stimuli but now i cant make the same experiment with audio files. I want the participants to hear all the digits in random order and then answer. The problem is that i want each audio file played once for every loop and also that i want to be able to know whether the participant answered correctly or not.Is that clear to you ?I would appreciate any help =)

  • edited 4:45AM

    Hi Reko,

    It sounds like you should be able to modify your previous experiment, so I would start from there. But your question could do with a lot more detail! What do you want to do exactly in terms of trial sequence, reponses, etc. What do you have so far, and what is still lacking?

    Cheers,
    Sebastiaan

Sign In or Register to comment.

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