ginopino09

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Conditional training phase #7133
    ginopino09
    Participant

    Great thank you, it works!
    My actual table has 60 trials, this is why of the number is used.
    Also, thank you for the warning about recruitment policies, we already did that and it’s fine as long as we pay for their time and they are informed from the beginning about the screening test.

    I have another silly question.
    I need block order randomization (no need to counterbalance).
    I see that you suggested in another post to do something like this:

     ( Math.random()>=0.5 ? [
    Sequence("intro","block1","block2","results")
    
    ] : [
    
    Sequence("intro","block2","block1","results")
    
     ])
    

    But what if I have more blocks and I need to randomized them between 4 orders?
    Or even more, like 24 orders?
    Do I use the same math.random function?

    If this questions doens’t belong here, I can delete it and move it below a post with similar requests.

    Thank you again for your help.

    Giorgio

    in reply to: Conditional training phase #7129
    ginopino09
    Participant

    Hello Jeremy,
    I’m sorry I don’t if I can continue this thread with a similar issue.

    I’m trying to ascreening test for my experiment where participants will have to score at 70% in an easy English test. If they do not reach this threshold they are not allowed to continue the experiment. I’m having problems even with calculating the test score.

    AddTable("LEX",`WORDS,RES
    PLATERY,F
    DENIAL,J
    GENERIC,J
    MENSIBLE,F
    SCORNFUL,J
    STOUTLY,J
    ABLAZE,J
    JERMSHAW,F')
    
    Template("LEX", row=> 
        newTrial("Engl_prof",
            newVar("score", 0).global(),
                newText(row.WORDS).print("center at 50vw","middle at 50vh"),
            ,
            newText("<span style='color:red'><b>F = it doesn't exist</span></b>, <span style='color:green'><b>J = it exists</span></b>").print("center at 50vw","middle at 75vh"),
            newKey("lext","FJ")
            .wait()
            .log()
            .callback(
                getKey("lext")
                    .test.pressed(row.RES)
                    .success(getVar("score").set(v=>v+1))
                    
            ))
         
    ),
     newTrial("resul",
        newVar("score").global(),
        newText("yscore")
            .before(newText("Your score is: "))
            .text(getVar("score"))
            .after(newText("/60"))
            .print(),
        newButton("Ok").print().wait(),
        newVar("score").global(),
        getVar("score").test.is( v => v > 41 )
            .success(end)
            .failure(newText("I'm sorry but your score is too low. You cannot continue the experiment.").print().wait())
            
            )
    

    I saw that you explained this method somewhere else, but I cannot figure out the problem.

    Best,

    Giorgio

    in reply to: Saving Recordings with Appropriate Filename #7123
    ginopino09
    Participant

    Hello Jeremy,
    I tried this solution about a month ago and it was working, now I am back to work on my experiment and the debug shows this message: Unrecognized expression ‘variable’ (line inside PennController.Template) (PennController: 116).

    Here what I wrote:

            Template("REAL_NDS", row =>  newTrial("ndsr",
                newText("+").css({'font-size':'1.5vw'}).print("center at 50%","middle at 50%"),	
                newTimer(500).start().wait(),
    newText(row.WORD).css({'font-size':'1.5vw'}).print("center at 50%","middle at 50%"),
                newMediaRecorder(variable.REC, "audio").record(),
                newTimer(500).start().wait(),
                newKey("Enter").print().wait(),															
                newTimer("pad", 500).start().wait(),clear(),
                    getMediaRecorder(variable.REC)
                    .stop()
                    .log()	))

    My table:

    AddTable("REAL_NDS",`Audio1,WORD,REC
    sheep.wav,SHEEP,NDS_SHEEP_6_10
    ...`)

    Do you have any idea why this is not working anymore?
    Thank you!

    in reply to: video not displayed #7067
    ginopino09
    Participant

    Hi Jeremy, here it is
    https://farm.pcibex.net/r/EXBFQT/

    in reply to: video not displayed #7065
    ginopino09
    Participant

    Thank you for your reply.

    I don’t have defaultVideo.disable() anywhere and I tried another video that I directly recorded with mp4 format and still does not work.

    in reply to: InitiateRecorder #6601
    ginopino09
    Participant

    Thank you Jeremy!
    I don’t know why it worked as it was before. I used inside a trial for my previous experiment too and it worked… who knows
    Anyway you solved my problem

    in reply to: Selector problem #6448
    ginopino09
    Participant

    Thank you Jeremy, it worked!

    in reply to: timeout and skip to next task #6438
    ginopino09
    Participant

    Thank you Jeremy! It worked!

    in reply to: Change audio recording from stereo to mono #6157
    ginopino09
    Participant

    Thank you very much, I’ll simply tell them to do it only once.

    in reply to: Change audio recording from stereo to mono #6154
    ginopino09
    Participant

    Thank you Jeremy,
    yes that was another option. I’ll go for it, thanks!
    Since we are here, I have another silly question: is there a way to give link to the experiment that is usable only once? I don’t mean a unique link for participant as The URL method does. I mean a link that can run the experiment only once and not as many times as the participant wants. Thank you

    PS sorry maybe I should open another question?

Viewing 10 posts - 1 through 10 (of 10 total)