lilymelodyli

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: How to add page breaks in between randomized items? #8542
    lilymelodyli
    Participant

    Hi Jeremy,

    Sorry to bother you again. I can now run my experiment smoothly, but then I have a problem with reading the results.

    Because I have two breaks in between the 175 audio files (I’ve modified the number of audio files), I expect to have 3 sets of data. However, I don’t know why set 1 and 3 (of one participant) are recorded twice in the .csv file, while set 2 is also somehow duplicated but is always incomplete. It makes me very hard to read the results, and also makes the file exceptionally huge. Do you have any ideas about this issue?

    FYI – this is the .cvs file for my own trial (result of one person only).

    Thank you,
    Lily

    in reply to: How to add page breaks in between randomized items? #8534
    lilymelodyli
    Participant

    Hi Jeremy,

    Oh please don’t bother with the ACL. I figured out what’s going on following the YouTube clip here. I can now grant access of my zip file and load the files to PCIbex farm.

    Thank you so much for your help over the last few days! Hopefully I won’t run into any problem later 🙂 But in case anything happened, I will let you know!

    Cheers,
    Lily

    in reply to: How to add page breaks in between randomized items? #8531
    lilymelodyli
    Participant

    Hi Jeremy,

    I just tried to change the ACL, but I only found “list” but not “read” option for the object option…

    Link to the screenshot of my ACL options, as I can’t attach it as a image here.

    Lily

    • This reply was modified 1 year, 7 months ago by lilymelodyli.
    • This reply was modified 1 year, 7 months ago by lilymelodyli.
    in reply to: How to add page breaks in between randomized items? #8529
    lilymelodyli
    Participant

    Hi Jeremy,

    Thanks for answering the different questions! I’m now done with the page break, reaction time and aesthetic.

    I followed your advice to create an Amazon S3 bucket to host my zip file, and then changed the CORS settings with the following JSON configuration (taken from the other post you sent me).

    [
        {
            "AllowedHeaders": [
                "*"
            ],
            "AllowedMethods": [
                "GET"
            ],
            "AllowedOrigins": [
                "https://farm.pcibex.net"
            ],
            "ExposeHeaders": []
        }
    ]

    However, when I tried to run the script, I got an error message and the experiment got stuck with the preloading process:

    [17:15:38] Error downloading https://s3.ap-southeast-1.amazonaws.com/nus.qe.cantonese.cl/Stimuli_mp3.zip:;Error: Ajax error for https://s3.ap-southeast-1.amazonaws.com/nus.qe.cantonese.cl/Stimuli_mp3.zip : 403 Forbidden (newTrial: 0-welcome)

    I also tried to open the URL of my Amazon bucket, and it also said “AccessDenied”. Do you know what may have happened here?

    Lily

    in reply to: How to add page breaks in between randomized items? #8516
    lilymelodyli
    Participant

    Hi Jeremy,

    A quick question about preloading audio files: as you know, I have 180 short audio files to play in my experiment. As they are pretty small (in total 3-4MB only), I first tried to upload everything onto PCIbex Farm. However, when I tried to run the experiment, it just takes forever to preload the files and the experiment may stop and get stuck in the middle.

    I saw that you suggested in another post to upload a zip file to avoid this problem. But what I don’t understand is where I could host the zip file. I know that cloud services like Dropbox and Google Drive don’t work, what about GitHub? Or any suggestion on this issue?

    Thanks again!
    Lily

    in reply to: How to add page breaks in between randomized items? #8515
    lilymelodyli
    Participant

    Hi Jeremy,

    Thank you so much for your reply! I thought sepWithN is a built-in function in PCIbex, that’s why I didn’t know I should create a definition for it. I’m also very new to programming/scripting, so my entire script is made by reading the user menu of PCIbex, and by copying and pasting stuff from different sources, based on my understanding on what’s going on in their scripts.

    After adding your script of sepWithN, now I can have a break for every 5 audio files played. However, a follow-up question is it also gives me a break after my final item, which is the 10th audio file in my current situation. I tried to change it from 5 to 3, but it will do the same after the very last item. I wonder if there’s a way to avoid having the break after the last item?

    I also have a question about recording response time. My study measures both the participants’ ratings, as well as their response time. I saw from another discussion thread that there is no reaction time recorded by default in PCIbex, which is perfectly understandable. However, with my script below, I have something that kind of looks like reaction time in my results. The reaction time-like thingy appears in the column of my rating results, that is the “value” column. Do you know what may have happened here? Do I have to change my script?

    Template(
        variable => PennController( "experiment" ,
        newAudio("variable", variable.AudioFile)
      	.play()
      	.log()
    	.wait()
    	,
    	
        newButton("Replay")
      	.callback( getAudio("variable").play() )
     	.print()
    	,
    
        newScale("judgement",  "1", "2", "3", "4", "5", "6", "7")
    	.button()
    	.settings.radio()
    	.settings.labelsPosition("bottom")
    	.settings.center()
    	.print()
          	.settings.log()
    	.wait("")
    	,
    
        getAudio("variable")
    	.wait("first")
    	,
    
        randomize("variable")
    )
    .log( "ID" , getVar("ID") ) 
    .log( "Item" , variable.Item ) 
    )

    The last question is about aesthetic. In my first page of the experiment, participants will enter their participant ID and press “Agree” to start the experiment. However, the “Agree” button is at the very bottom edge of the page, which is a bit difficult to press. I was trying to add space in between by using the code: newCanvas("empty canvas", 1, 40).print(), but it only works between elements (texts, buttons), not the page bottom. I looked at other discussion and people suggested changing the CSS file. Since I’m not familiar with all these, I’m afraid I may accidentally ruin the CSS file. So, is there a way to add some extra space between the “Agree” button and the bottom of the page?

    Thank you once again!
    Lily

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