Input/output files

I’m trying to build a task which first has a detection thresholding block - the thresholds will then be used later on in the main trial (same experiment) to change the volume of audio files. I know I\ll probably need to code it so the thresholds are saved in an output file then used as an input in the main trial block. I was just wondering if this is possible in Pavlovia? And if so if anyone has any advice on how to do this.

Thanks in advance

If you are coding for online, then save the thresholds in a list or dictionary, rather than a file.

Great thanks!