Reply To: preloading audio files

PennController for IBEX Forums Support preloading audio files Reply To: preloading audio files

#6627
Jeremy
Keymaster

Hi,

200 audio files is a lot, so make sure you do need all of them. For example, if you have 10 different groups of participants and each group needs only 20 audio files, take a look at this topic.

In any case, you should probably consolidate your audio files into ZIP files, if that’s not already the case. There’s a tradeoff in deciding between a single big zip file vs a few lighter zip files: one big zip file ensures that all the audio files are received once download has completed, but it takes time, which also leaves a longer time-window for download interruption to happen; several zip files could be downloaded in parallel, but it means multiple requests, so the likelihood of at least one failing to go through is of course higher.

Whatever you end up doing, you need to use CheckPreloaded to control when to check that the resources have preloaded. So if you want your experiment to proceed only after all your resources have preloaded, insert a global CheckPreloaded trial at the desired point in your Sequence. You could give a ridiculously high number as a delay if you want to really ensure that all your resources have preloaded before moving on, but your participants probably will not like that, that’s why by default CheckPreloaded still moves on after a delay regardless. What I suggest, if applicable, is to insert different CheckPreloaded trials before different blocks of trials, so as to minimize waiting time while still ensuring that all the resources for the next block of trials have preloaded before starting that block.

The documentation gives one example on how to do that, but let me know if you have questions

Jeremy