Hi @Tino_Kreutzer, great that you created this thread. Today I spoke with my friend cofinancer&developer and he shared with me some concerns about using AMR regarding Licensing and patent issues that we should take into account:
"In the category of personal computer products, e.g., media players, the AMR decoder is licensed for free. The license fee for a sold encoder falls from $0.40 to $0.30 with volume, up to a maximum of $300,000 annually. The minimum annual royalty is not applied to licensed products that fall under the category of personal computer products and use only the free decoder."
Other royalty-free formats of interest that he shared with me are:
FLAC - compresión sin pérdida, comprime wav a ~40%:
Opus - compresión con pérdida con enfoque en voz (alternativa a mp3):
I guess a good point to start the conversation is to define what we could do with the resources my friend and I have available and from there, we should look for other funds or developers contributing to it. Also, as you mentioned defining the specs is the other side.
I will describe in the next days what was the initial scope and from there we can continue the conversation. What do you think?
Description of the App that we already arrange / got funds to develop:
The key points of this app are:
• Available on google play and it can be run on Android.
• NO ADDS
• Audio could be recorder in mp3, wav and other formats such as FLAC and OPUS.
• Open source code
• We are thinking to use it for short interviews or answering open questions
• Responds to: android.provider.MediaStore.Audio.Media.RECORD_SOUND_ACTION
• Compatible with ODK collect v.1.27.3
• Developed in Java
We were thinking to develop first the external app and use it in the field. Later, we could search for some funds / time to help in adapting it to be integrated in ODK collect. The reason for this is that we need to have it working in September. We will be sending the data to ODK Central and I don´t know if there is something else we should consider or if this is enough to start.
Thank you for your comments and I will let you know the name of the app and where is the code once we have it ready to share it.
Thanks for the update @Inti_Luna! Looking forward to seeing what you've worked on. It would be interesting to have the team working on the app connect with the ODK community on here or on Slack around how any future integrations could work and around potential blockers to merging like licensing, code quality and test coverage.
formats available at the moment: wav, flac and opus.
app is 1.5MBs and less than 5MB installed
10 seconds are (16Khz, mono, 16bits):
191 KB in wav
112 KB in flac (58% of wav size)
12 KB in opus (6% of wav size)
I wanted to ask for people speaking french, german and portuguese if you can help with this translation to have it ready for this first version. there will be instructions how to add more languages but at least I wanted to start having spanish, english, french, german and portugues.Other non-main stream languages are welcome.
Hi @Inti_Luna, great to see this project advance! I haven't tested your first version yet. Do you have a compiled APK you can share?
Great to see the support for Opus! I was wondering if you've done tests for speech recording of opus vs AMR (in terms of file size relative to the quality)? Was there a licensing issue that prevented including MP3?