upload recording trial by trial

PennController for IBEX Forums Support upload recording trial by trial

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5881
    pchen
    Participant

    Hi Jeremy,

    Is there a way to upload the recorded audio file on a trial basis? I have about 10 trials of audio recording from each participant, and it takes a while to upload all at once at the end of experiment.
    I’m worried participants won’t have the patience to wait till the end.

    Thank you for your help in advance,
    Peiyao

    • This topic was modified 3 years, 8 months ago by pchen.
    #5883
    Jeremy
    Keymaster

    Hi Peiyao,

    Yes, use the UploadRecordings command to create a trial that will send the recordings. You can pass "noblock" as the second parameter if you don’t want each upload request to slow down your experiment (take a look at the example script). Just make sure you’re using at least PennController 1.8, as the command was introduced with that release.

    Also, using "noblock" will most likely have the requests generated by the UploadRecordings trials complete during a subsequent trial, so the lines added to the results file once upload is complete will be associated with whatever trial is currently running, instead of with their corresponding UploadRecordings trial.

    Jeremy

    #5885
    pchen
    Participant

    It worked! Thank you so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.