Aggregating recording information

How to gather LENA information from .its files and ELAN annotations

ITS metrics

  1. Set your working directory to Fas-Phyc-PEB-Lab/VIHI/Scripts/LENA_Scripts.

  2. Generate a current list of .its files

    1. Run list_its_files.R. This will generate a new list of all the .its files in Fas-Phyc-PEB-Lab/VIHI/SubjectFiles/LENA and place the list in LENA_Scripts/data.

  3. Run getting_LENA_details_from_its.R. This script will take a long time to run. Eventually, this will generate VIHI_its_details.csv and place it in LENA_Scripts/data.

VIHI_its_details.csv

  • its_path: file path to the .its file

  • total_time_dur: length of the recording, in seconds

  • CHF_dur: duration of target child far speech

  • CHN_dur: duration of target child near speech

  • CXF_dur: duration of other child far speech

  • CXN_dur: duration of target child near speech

  • FAF_dur: duration of female adult far speech

  • FAN_dur: duration of female adult near speech

  • MAF_dur: duration of male adult far speech

  • MAN_dur: duration of male adult near speech

  • NOF_dur

  • NON_dur

  • OLF_dur

  • OLN_dur

  • SIL_dur: duration of silence

  • TVF_dur: duration of TV far noise

  • TVN_dur: duration of TV near noise

  • CHF_n

  • CHN_n

  • CXF_n

  • CXN_n

  • FAF_n

  • FAN_n

  • MAF_n

  • MAN_n

  • NOF_n

  • NON_n

  • OLF_n

  • OLN_n

  • SIL_n

  • TVF_n

  • TVN_n

  • AWC: adult word count

  • CVC: child vocalization count

  • CTC: conversational turn count

  • FAN_AWC: female adult near word count

  • FAN_ns_dur

  • FAN_utt_n: number of female adult near utterances

  • FAN_utt_dur

  • MAN_AWC: male adult near word count

  • MAN_ns_dur

  • MAN_utt_n

  • MAN_utt_dur

  • corpus

  • CHN_segment_dur

  • CHN_utt_dur

  • CHN_cryvfx_dur

  • CHN_cry_dur

  • CHN_vfx_dur

  • CHN_segment_n

  • CHN_utt_n

  • CHN_cry_n:

  • CHN_vfx_n

  • CHN_utt_segs_n

  • CHN_cry_segs_n

  • TV_dur: duration of TV noise

  • adult_dur: duration of adult speech

  • sub_id: participant's VIHI_ID

  • group: participant group (VI, HI, or TD)

  • match: for TD participants, the VIHI_ID of their VI or HI match. This column is NA for VI or HI participants

  • match_type: for TD participants, which match group they belong to (VI_age, HI_age, HI_hearingage). This column is NA for VI or HI participants

Being appropriately skeptical about .its tags

Exporting ELAN annotations

  1. Open ELAN.

  2. Navigate to File > Export Multiple Files As > Tab Delimited Text

3. Choose an existing domain, or create a new domain (make sure to include all files in SubjectFiles/LENA/VI, SubjectFiles/LENA/HI, and SubjectFiles/LENA/TD), and then press load. It may take a few moments for the next window to appear.

4. Make the following selections, then when prompted, select "UTF-8" encoding.

5. Save the file to Fas-Phyc-PEB-Lab/VIHI/SubjectFiles/LENA/annotations/all_lena.txt

6. Run ELAN_wrangle.R over the file all_lena.txt. This script is located in Fas-Phyc-PEB-Lab/VIHI/Scripts/LENA_Scripts. This script will output a .csv in Fas-Phyc-PEB-Lab/VIHI/SubjectFiles/LENA/annotations/VIHI_LENA_annotations[today's date].csv

Last updated