Hi everyone, I'm still progressing in ODK by reading some documents. But I can't add file audio, I don't know if I've to indicate the path of media or just I've to put the media file in the same repository with the file XLS.
this is an example from the main website of xlsform, example media . I don't understand very well what to put in the media::audio
You'll want to put a filename in the cell in your XLSForm. Then you'll need to upload the file(s) with the matching name(s) after putting the form to your server.
The documentation for Kobo is here and here [EDIT: dead link] and the button in the interface looks like:
ODK Aggregate, etc will all have a similar option to attach files to your uploaded form.
You need to add a column with media::audio as the header. And then you put the filename of the desired file in that column of the row for the desired question.
For example, if you upload this survey:
+------+----------------+--------------------------------------------------------------+--------------+
| type | name | label | media::audio |
+------+----------------+--------------------------------------------------------------+--------------+
| text | identify-sound | Play the sound and ask the respondent to identify the sound. | birds001.wav |
+------+----------------+--------------------------------------------------------------+--------------+
Thank you, I get it. The type of audio must be only in "wav"?
If I must put 3 audios in a select_one question how can I do it? I've to separate the name audio by "AND" or what I've to do?
like this:
I have tested .wav files. I haven't tested other files types so don't know for sure. Audacity may be a good choice for any audio file editing you need to do.
If you want the media associated with answer option(s) instead of with a question, then you will need to edit the choices sheet. These options on your choices sheet: