Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Audio in CommCare can be used to help both the Mobile Worker and their clients user connect to messages on screen. This can be to guide an interaction for data collection or to provide counseling messages. Below is some guidance for how to record and upload audio files to CommCare!

...

Guidelines for Good Recordings

Insert excerpt
Application Design Best Practices - Application CreationApplication Design
Best Practices - Application Creation
nopaneltrue

If using Zoom H1 Microphone

...

  1. First install Audacity and follow the instructions for downloading. You will need the LAME mp3 encoder to use audacity. You can download it for free by searching for lame_enc.dll.

  2. Configure the MP3 encoding settings in Audacity (Edit -> Preferences -> File Formats -> Bit Rate) (Please read Note below for newer versions of Audiocity). For speech, 56-64kbit mono ABR encoding at 22 050Hz should give excellent results. If the audio contains other noises or music, 96kbit mono could be considered. For very high quality applications (at a minimum, CommCare user will be using headphones) use 128kbit stereo. 64kbit mono requires ~7KB per second of audio. We use average bit-rate encoding (better quality for a given file size and preferred over variable bit rate/VBR for low bit rates). Set the project's frequency to 22 050Hz in the bottom left corner of Audacity. See a discussion on encoding choices, including for voice.
    Note: In newer versions of Audiocity 2.0 and higher the option for MP3 encoding has changed to the export step. File -> Export -> Save as type -> MP3 -> Options Button.

  3. Copy the files from the memory card in the recording device and save on your computer. 

  4. Open the recording file in Audacity. 

  5. Splicing: If you recorded a string of audio messages in one audio file, your sound peaks may look like the image below. If you decided to use unique sound effects like a clap or a tap on the table as a way to denote the start and stop of audio messages, then you will be able to visually decipher the different message segments. If you recorded one audio message in one file, you will hopefully have a shorter file.

    1. Play the file and find the best recordings for each audio message. 

    2. Select the portion of audio (highlighted below) that you wish to process. 

    3. If your file contains all the audio messages, then copy and paste this best audio recording for one message into a "new project" and complete your processing there. 

    4. If you recorded separate clips for each message, then you may find it easier to process within the same file. Delete the recording segments that you do not want to keep. 

  6. Background Noise Removal: Listen to the audio message. It is best to remove background noise to ensure we have good quality messages that are played from the application. See this video from 6:54 to 10.48 seconds to learn how to remove background noise. NOTE: This may not be the best way to do it and it can be time consuming, so the better thing to do is, obviously, be careful while recording to ensure there are no background noises.

  7. Blank Noises: Now check for any blank noises in the audio clip and delete them. The objective is to keep the audio recording crisp and precise. To do this, drag the cursor and select that portion of the clip and press delete. 

  8. Save/Export Individually: Save this audio file as .mp3, click on File, Export as mp3.  Save the file name as the questionID in the application. You may have to reference the definition file. (You can also select the processed portion of the audio clip in a larger file and select Export Selection as mp3.) Save the processed clips in a folder called "audio". 

    1. *This is the end of processing clips individually. You can complete the last two processing steps in bulk to save time.*  To begin, select all the mp3 files in your "audio" folder and drag them into Audacity. You can work in smaller sets of 10-15 files instead of copying hundreds of audio clips into Audacity.

  9. Pauses: Note it's recommended to add a slight 0.5 - 1 sec delay at the beginning of each audio clip. Don't make the delay too long, otherwise FLWs will be inclined to try to re-play the message by hitting the hash button twice. This will actually pause the audio clip! To add intro pauses, place the cursor at the very beginning of your audio clip. Click on Generate Silence and enter the preferred seconds. 

  10. Amplify: The next step is to amplify the volume of the audio file because audio played in the field by FLWs needs to be audible by beneficiaries, in an environment that is prone  to a lot of noise (i.e. the farm, a health center, a home with a crying baby, goats and chickens). 

    • Select the sound peaks of all of your audio files in Audacity

    • Go to Effects and choose Amplify

    • In the pop-up box, input 10 in the "amplification" field and below, check the box "allow clipping" (see pic below) and click Ok

...