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,
This topic was modified 3 years, 4 months ago by pchen.
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.