Larissa_Cury

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 92 total)
  • Author
    Posts
  • in reply to: Displaying n words on screen #10563
    Larissa_Cury
    Participant

    Hi, @Jeremy! Thank you! But I don’t think it is quite working as I expected. Take a look at the ‘new–itens.csv’ file I’ve uploaded, for ex: https://farm.pcibex.net/r/AqPhcF/

    With your code,

    a) I’m seeing the words still together by the *.* such as hello.world and bye.earth. I’d need one below the other, such as in a columns (as in the pictures)
    b) The timer is restarting after each new list, isn’t it? I need the whole test to be within 1min. For example, in the ‘new–itens.csv’ I have 5 rows of 10 names separated by “_” each, so I’d need 5 columns to be displayed, each with 10 words, one below the other. The participant can go as long as s/he can, but within 1min

    How can I fix that avoiding hard coding each collumn myself or uploading pictures?

    • This reply was modified 12 months ago by Larissa_Cury. Reason: correct my text
    • This reply was modified 12 months ago by Larissa_Cury. Reason: edit details
    • This reply was modified 12 months ago by Larissa_Cury.
    • This reply was modified 12 months ago by Larissa_Cury.
    • This reply was modified 12 months ago by Larissa_Cury.
    in reply to: Help with recording audio? #10562
    Larissa_Cury
    Participant

    Hi, @Jeremy! Thanks ! See, I could change the message, but is it impossible to change the links’s message as well? I cannot have that amount of text, my participants are learning how to read, this can bias the experiment (this is a reading experiment and there will be a version in portuguese as well). Is there a way to change the link’s message too ? (or to turn it into a button, maybe) ?

    I’m refering to this msg: *By clicking this link I understand that I grant this experiment’s script access to my recording device for the purpose of uploading recordings to the server designated by the experimenter(s).*

    
    // 👉 Record audio
    
    InitiateRecorder("https://myserver/uploadVoices/saveRecordings.php"
    ,
    "Recording audio warning message here"
    )
    //.label("first-trial"));  // why is it here?
    
    // 👉  Experimental trial: 
    
    //Template("items.csv", row =>
        newTrial("experimental-trial",
    // newMediaRecorder(ELEMENT_NAME: string, ["audio"], ["video"])
        newMediaRecorder("recorder", "audio")
            .record()
        ,
        newTimer("recording", 3000)
            .start()
           // .wait()
        ,
    .
    .
    .
    
    in reply to: Help with recording audio? #10558
    Larissa_Cury
    Participant

    Oh! @Jeremy , I’m going to get participant’s consent before the experiment, so how can I hide the consent audio page? (they will have already consented)

    in reply to: Help with recording audio? #10554
    Larissa_Cury
    Participant

    Ohhh, all right! Thank you! I’m trying to change the default text of the failure message, but it isn’t chaning…is there anything I could do? I can change the message on the button trial, but even if I change the message before it, it doens’t appear different in the experiment:

    
    newTrial(
        newFunction("check upload", ()=>PennController.uploadRecordingsError)
            .test.is()
            .success(
                newText("confirmation", "The recordings were sent to the server. ")
                    .print()
            )
            .failure(
                newText("error", "Click on the link below to store data 👇")  //////////////////////// HERE -> it doens't change!
                    .color("red")
                    .print()
            )
        // ,
        // newText("download", DownloadRecordingButton("Click here to download an archive of your recordings.") )
        //     .print()
        // ,
        // newTimer("inifinite", 0)
        //     .wait()
    )
    
    • This reply was modified 1 year ago by Larissa_Cury. Reason: adding question
    • This reply was modified 1 year ago by Larissa_Cury. Reason: add code
    in reply to: Can we use template literals in Pcibex? #10553
    Larissa_Cury
    Participant

    Link to the experiment with the ID-Var element: https://farm.pcibex.net/r/wPASJJ/

    in reply to: Can we use template literals in Pcibex? #10551
    Larissa_Cury
    Participant

    Hi, Jeremy! Thank you very much! I’ll dig in into your answer, thanks! One more thing, I’d like to use a template literal to salute my participant. I thought thatr ‘var’ was a global variable, but I cannot do things such as

    newText('salute',hi, ${ID})

    Why is that? How can I ‘use’ the ID var?

    I was able to do sth as:

    
    let welcomeMsg = 'maria'
    
    // 👉 Instructions trial 
    newTrial("instructions",
    defaultText
            .center()
            .print()
    newText("instructions-1", <code>hi, ${welcomeMsg}</code>)
    )
    

    just a note: I’m adding the template literals between ` , but the forum is formatting into a block code 🙂

    • This reply was modified 1 year ago by Larissa_Cury. Reason: editing my answer
    in reply to: Help with recording audio? #10549
    Larissa_Cury
    Participant

    Hi, Jeremy! That’s great, thank you! I’m sorry, why would this link be used for? I mean, what is the advantage of inserting a link in the button?

    in reply to: Help with recording audio? #10543
    Larissa_Cury
    Participant

    All right, got it! Many thanks! @Jeremy, How would it be possible to physically download each record locally on participants’ computer after the experiment? I’m planning to run my experiment locally, so maybe I won’t even have to send data to a database. 🙂 Hence, can I store the audios directly on my computer? If so, how?

    • This reply was modified 1 year ago by Larissa_Cury. Reason: add tag
    in reply to: Can we use template literals in Pcibex? #10540
    Larissa_Cury
    Participant

    Another usage, can we do something like this?

    Can we set a variable with const, let or var and reuse it? Ex:

    
    // Set a variable:
    
    let time = 100
    
     newTimer("timeout", time)
                .start()
    ,
      newText("text",<code>you have ${time} to answer that! run!</code>)
       .center()
    
    • This reply was modified 1 year ago by Larissa_Cury. Reason: add another line of code
    • This reply was modified 1 year ago by Larissa_Cury.
    in reply to: Help with recording audio? #10531
    Larissa_Cury
    Participant

    Hi, @Jeremy!
    Would the paid version of Google Drive work?
    best,

    in reply to: Help with recording audio? #9683
    Larissa_Cury
    Participant

    Thank you, Jeremy!
    12 months would be all right, that’s good news. I was afraid I’d have to buy a storage service! Another option would be to physically download each record locally on participants’ computer after the experiment, right? I’ve ran the pre-set projet and saw this option.

    Concerning Farm’s problems, yes, I’ve noticed them. I hope everything turns out fine soon 🙏🙏🙏 thanks for the notice as well 🙂

    in reply to: Help with recording audio? #9676
    Larissa_Cury
    Participant

    Hi, Jeremy. This may be a very silly question, but still. Based on Pcibex’s documentation and the discussions here on the forum, there’s no way of hosting an experiment that records audio for free, right? We must have access to an external paid “driver” to host those files, right? There’s not free-server for that, right? A follow-up question is if the paid verson of Google Drive would do the job?

    Larissa_Cury
    Participant

    Ohhhhh, got it! Thank you very much, Jeremy!! 😄

    in reply to: Is it possible to shuffle trials according to a % of times? #8130
    Larissa_Cury
    Participant

    Dear Jeremy, thank you as always! Yes, I’m going to create 4 different trials with 4 different lables, I’m wondering why solution number two wouldn’t work with different lables?

    Best,

    in reply to: Can we randomize time with newTimer() ? #7987
    Larissa_Cury
    Participant

    Got it!!! I always say this, but, honestly, I can never thank you enough, Jeremy. Thank you for following me throughout this post so willingly to help me ❤ I hope I don’t come up with any more surprises 😅

Viewing 15 posts - 31 through 45 (of 92 total)