Audio
Audio questions उत्तरदाताओं को survey के हिस्से के रूप में audio files record और submit करने देते हैं।
audio question type उत्तरदाताओं को अपने survey response के हिस्से के रूप में audio record करने या एक existing audio file upload करने की अनुमति देता है। यह verbal accounts, environmental sounds, testimonials, या कोई भी जानकारी capture करने के लिए उपयोगी है जो text की तुलना में voice के माध्यम से बेहतर conveyed होती है।
Basic XLSForm Specification
| type | name | label |
|---|---|---|
| audio | voice_note | कृपया अपनी टिप्पणियाँ record करें |
Standard audio question type के बारे में अधिक जानकारी के लिए, XLSForm specification देखें।
उपयोग
Audio questions सामान्यतः इनके लिए उपयोग किए जाते हैं:
- Enumerator typing burden को कम करने के लिए open-ended verbal responses capture करना
- Testimonials, personal stories, या oral histories record करना
- Environmental sounds document करना (जैसे infrastructure के पास noise levels)
- Linguistic या health research के लिए voice samples एकत्र करना
- उत्तरदाताओं को numeric या select answers में verbal clarifications जोड़ने की अनुमति देना
Data format
Audio files form submission के साथ binary attachments के रूप में store होती हैं, आमतौर पर:
- Format: MP3 या AAC (mobile recording); WAV (high-quality recording)
- Naming:
{instanceID}-{fieldname}.mp3(या equivalent) - Storage: Server media folder में upload होती हैं और submission record से linked होती हैं
- Access: Submission management interface से playable और downloadable
rtSurvey extensions
Maximum duration
Recording length सीमित करने के लिए parameters column का उपयोग करें:
| type | name | label | parameters |
|---|---|---|---|
| audio | interview | Interview record करें | max-duration=120 |
max-duration seconds में है। Recorder limit पर automatically रुक जाता है।
Quality settings
Recording quality को parameters के माध्यम से सेट किया जा सकता है:
| type | name | label | parameters |
|---|---|---|---|
| audio | feedback | Feedback record करें | quality=normal |
Supported values: low, normal (default), voice-only। voice-only noise reduction के साथ spoken audio के लिए optimize करता है।
Submission से पहले Playback
Mobile पर, गणनाकर्ता आगे बढ़ने से पहले recorded clip play back कर सकता है। यह default रूप से enabled है — कोई configuration आवश्यक नहीं।
Native recorder integration
Android और iOS पर, audio device के native recording app launch करता है। Web पर, यह browser के built-in MediaRecorder API का उपयोग करता है।
Example usage
Maximum duration और hint के साथ
| type | name | label | hint | parameters |
|---|---|---|---|---|
| audio | story | घटना के बारे में अपने शब्दों में बताएं | स्पष्ट रूप से बोलें। Recording 3 minutes बाद रुकती है। | max-duration=180 |
Conditional audio — केवल तभी जब कोई issue report किया गया हो
| type | name | label | relevant | required |
|---|---|---|---|---|
| select_one yesno | issue_found | क्या कोई issue पाया गया? | ||
| audio | issue_audio | Issue का description record करें | ${issue_found} = 'yes' | ${issue_found} = 'yes' |
Best Practices
labelयाhintमें clearly state करें कि गणनाकर्ता को क्या कहना चाहिए और कितने समय तक।- Slow upload speeds वाले areas में अत्यधिक बड़ी files रोकने के लिए
max-durationका उपयोग करें। - Recording शुरू करने से पहले उत्तरदाताओं को सूचित करें — अनपेक्षित recording से privacy concerns हो सकती हैं।
- Deployment से पहले target device और network conditions पर recording का परीक्षण करें।
- Interview-style recordings के लिए intelligibility खोए बिना file size कम करने के लिए
quality=voice-onlyसेट करें।
सीमाएं
- Audio files बड़ी हो सकती हैं (normal quality पर 2-minute recording ~2–4 MB) — इसे अपने data plan और upload time estimates में factor करें।
- सभी browsers MediaRecorder API का समर्थन नहीं करते — Chrome और Firefox reliably काम करते हैं; पुराने iOS versions पर Safari में issues हो सकते हैं।
- Audio responses का transcription additional post-processing की आवश्यकता है।
- Privacy regulations voice recording को restrict कर सकते हैं — local data protection requirements verify करें।