Kal_Lam
October 20, 2023, 12:57pm
2
Welcome to the community, @_project2022 ! Could you also let us know how you collected the audio recordings? Did you use the Collect Android App
or Enketo
aka web form
? My other query is did you record it directly with the device, or did you upload the recordings (made from the device)? These details should help us troubleshoot your issue.
use android app and i record it directly with the device
@_project2022 , would you mind sharing with me the following information through a private message so that I could have a closer look at your case:
Username
Project name
Server
Note: You could share with me a private message as outlined in the post discussed previously:
Hi @Lavinia ,
You could send a private message to a user in the community forum as follows:
Option 1: Sending a private message
Step 1: Select the Reply button as boxed in red below.
[Image 1]
Step 2: Select the Reply button once again, but now from this place, as shown in the image below.
[Image 2]
Step 3: Now select New Message as shown in the image below.
[Image 3]
Option 2: Sending a private message to me
Step 1: Click on my username Kal_Lam.
Step 2: Then on the right, click the…
Username : xxxxxxx
Project Name : Project Giant - Survey Publik Terhadap Kebijakan Keberlanjutan Sustainability United Tractors
server : https://kf.kobotoolbox.org/
please help me, coz the project still running.
1 Like
@_project2022 , I just confirmed that you should be seeing this issue:
There are background audio under the DATA>Table view:
You get this error message when trying to open it:
Kindly please be informed that we already have a GitHub issue for this issue. You should be able to track it here:
opened 02:15AM - 22 Aug 23 UTC
bug
Front end
## Description
While collecting background data with Collect, an error occurs… while trying to play AMR files.
## Steps to Reproduce
1. Create a new form
2. Enable background audio
3. Set the audio quality to `Voice-Only`
4. Save and deploy the form
5. Download the form on Collect
6. Complete a submission with the device collecting background audio
7. Send the submission
8. Refresh web UI
9. Go to the form Data tab
10. Try to play audio and receive an error
## Expected behavior
The Audio should play without issue
## Actual behavior
There is an error when attempting to play the `.amr` file
## Additional details
The `/attachments` endpoint loads the `.amr` file without issue, and the file is playable on download.
This is probably the culprit:
```Quote
AMR file is not one of the supported audio files that html5 audio tag supports. Please see the list below for supported audio formats:
http://en.wikipedia.org/wiki/HTML5_Audio#Supported_audio_coding_formats
I would recommend you convert your amr file to mp3 or ogg and then upload it and play it on your server.
```
https://stackoverflow.com/a/27915473
We should be using the audio-conversion feature of the `/attachments/` endpoint here to avoid issues like this
`/api/v2/assets/{asset_uid}/data/{data_id}/attachments/?xpath=Path_to_audio_question&format=mp3`
Will let you know once it’s been resolved.
I don’t understand, but doesn’t seem like it can’t be played. However, when the file is downloaded there is no file attachment.
Pada Jum, 20 Okt 2023 pukul 21.06 Kal_Lam via KoboToolbox Community Forum <noreply@community.kobotoolbox.org > menulis:
hi Kal_Lam, can u help me about this problem?
Dear @_project2022 @Kal_Lam , we have similar problem since October 19. Unfortunately, the GitHub issue link did not solve it yet. We have image, but no audios. Audios are not uploaded in the submission stage.
Kal_Lam
November 14, 2023, 12:33pm
12
@_project2022 , @evidence_ca , the issue has been resolved by now. Could you kindly confirm?
thanks a lot, issue has been resolved,
1 Like