Reply To: recording audio production

PennController for IBEX Forums Support recording audio production Reply To: recording audio production

#8214
Jeremy
Keymaster

Hi,

How sepWith works is explained in the Ibex manual. If UploadRecordings("sendAsync", "noblock") is commented out with //, and assuming there is no other trial labeled sendAsync defined in the code, then any reference to sendAsync in the sequence will have no effect, since there will be no trial with a matching label to include. Note, however, that you mention sepWith("Async", randomize(experiment)) (I assume the code has sepWith, which is the Ibex function to use in a sequence, rather than SepWith): the reference here is Async, not sendAsync, so you need to look for a trial labeled Async in the code, which does not correspond to UploadRecordings("sendAsync", "noblock"), so it’s not relevant whether that line is commented out or not

Re. how to match the files, here’s a made-up sample of selected lines from a results file:

1612992170,SUBMISSION1,PennController,28,0,experiment,NULL,MediaRecorder,filler1,Filename,filler1.webm,1612991498311,NULL
1612992170,SUBMISSION1,PennController,30,0,experiment,NULL,PennController,UploadRecordings,Filename,12345678-abcd-efgh-ijkl-901234567890.zip,1612991504982,async
1612992170,SUBMISSION1,PennController,29,0,experiment,NULL,MediaRecorder,filler2,Filename,filler2.webm,1612991501417,NULL
1612992170,SUBMISSION1,PennController,31,0,experiment,NULL,PennController,UploadRecordings,Filename,90123456-mnop-qrst-uvwx-789012345678.zip,1612991505176,sync
1612993451,SUBMISSION2,PennController,28,0,experiment,NULL,MediaRecorder,filler1,Filename,filler1.webm,1612991506231,NULL
1612993451,SUBMISSION2,PennController,30,0,experiment,NULL,PennController,UploadRecordings,Filename,abcdefgh-1234-5678-9012-ijklmnopqrst.zip,1612991507023,async
1612993451,SUBMISSION2,PennController,29,0,experiment,NULL,MediaRecorder,filler2,Filename,filler2.webm,1612991507189,NULL
1612993451,SUBMISSION2,PennController,31,0,experiment,NULL,PennController,UploadRecordings,Filename,uvwxyzab-3456-7890-1234-cdefghijklmn.zip,1612991508309,sync

Here, you can see that two zip files correspond to SUBMISSION1: 12345678-abcd-efgh-ijkl-901234567890.zip and 90123456-mnop-qrst-uvwx-789012345678.zip. The recordings filler1.webm and filler2.webm reported in the lines above for SUBMISSION1 will be included in those zip files (they might both be in just one of the two, or one in each, depending on how upload went)

Then two zip files correspond to SUBMISSION2: abcdefgh-1234-5678-9012-ijklmnopqrst.zip and uvwxyzab-3456-7890-1234-cdefghijklmn.zip. Likewise, you will find the recordings filler1.webm and filler2.webm from SUBMISSION1 in those zip files

Jeremy