11-17-2021, 05:29 PM
Hello, I'm not sure whether this is a bug or not but I ran into a couple of interesting issues when creating and uploading audio stimuli.
The first problem: After uploading a set of audio files (.wav) using the batch option in the "Resources files" page, I created a set of corresponding stimuli using batch upload of a CSV file. The created stimuli remained red and the audio files did not automatically get associated with the created stimuli. I tried the reverse, first creating the stimuli using CSV batch upload, and then uploading the audio files through the resources files page and they were still not associated with each other (stimuli remained red). I should note that the name of the stimuli and the name of the audio file are not the same, though the stimuli are populated with the correct audio file name. For example, a stimulus with the name "emerald" and content:
{
"type": "audio",
"content": "5emerald",
"barrier": false,
"visible": false
}
Here the audio file is named "5emerald", though the stimulus name is "emerald". Does the batch upload require that the name of the stimulus and the content be the same as the audio file (or is it sufficient for the "content" field to have the correct audio file name)? I can of course upload each audio file individually by clicking on the stimulus name and clicking upload, and then uploading the audio file from my computer. This brings me the the second problem:
If I batch upload the same set of stimuli twice from the resource files page, I only get one copy of each audio file (which is great). But, if after batch uploading audio files from the "resource files" pages, I additionally upload one of the same previously uploaded audio files from the "stimuli" section (by clicking on the red stimulus button with the right name) I end up with a second copy of an audio file in the "resource file" page. An exact copy with the same name and content (two audio files within the resource files page) and each plays fine. This may not be a bug, but it seemed odd that I would end up with two files with the same name and content at difference locations on the resource files page.
Just thought I'd share this experience...
Many thanks!!
The first problem: After uploading a set of audio files (.wav) using the batch option in the "Resources files" page, I created a set of corresponding stimuli using batch upload of a CSV file. The created stimuli remained red and the audio files did not automatically get associated with the created stimuli. I tried the reverse, first creating the stimuli using CSV batch upload, and then uploading the audio files through the resources files page and they were still not associated with each other (stimuli remained red). I should note that the name of the stimuli and the name of the audio file are not the same, though the stimuli are populated with the correct audio file name. For example, a stimulus with the name "emerald" and content:
{
"type": "audio",
"content": "5emerald",
"barrier": false,
"visible": false
}
Here the audio file is named "5emerald", though the stimulus name is "emerald". Does the batch upload require that the name of the stimulus and the content be the same as the audio file (or is it sufficient for the "content" field to have the correct audio file name)? I can of course upload each audio file individually by clicking on the stimulus name and clicking upload, and then uploading the audio file from my computer. This brings me the the second problem:
If I batch upload the same set of stimuli twice from the resource files page, I only get one copy of each audio file (which is great). But, if after batch uploading audio files from the "resource files" pages, I additionally upload one of the same previously uploaded audio files from the "stimuli" section (by clicking on the red stimulus button with the right name) I end up with a second copy of an audio file in the "resource file" page. An exact copy with the same name and content (two audio files within the resource files page) and each plays fine. This may not be a bug, but it seemed odd that I would end up with two files with the same name and content at difference locations on the resource files page.
Just thought I'd share this experience...
Many thanks!!