Hello, I was trying to collect data with the microphone component with stimulus presented in a loop.
The wav. file I got was named with date and time, but I want it to be named with the stimuli presented in the same loop.
sorry that I am not familiar with coding, may I know how does this code works?
if I want the file to be name like the stimuli name in the excel file i provide to the loop, should I edit this code with the variables in the coder? or should it be referred to some other component i have in the builder?
I’m not that familiar with it myself, but it looks like I’ve used %d to mark the positions of numbers and %s to mark the positions of strings. The variables to use in those positions are in brackets separated by commas. The original filename doesn’t have brackets because it only uses one variable (,tag).