Remove or delete specific sections of exported audio
Note: This article pertains to LENA Pro only, and not to other products where the audio is automatically destroyed after processing.
Currently there is no option to delete a specific portion of the processed file within LENA. However, depending on what materials/methods are required for your analyses, you may be able to use a combination of .wav file exports, .wav file editing, and selective source file deletion to remove the audio from the LENA software data while preserving only the "good" or "approved" section(s) as a .wav.
1. Option 1: Preserve ALL audio except the designated “bad spots” as a .wav, and remove the source file.
1.1. Note the file name for the uploaded LENA file you'll be working with.
You will need this information in later steps.
1.2. Note the clock time range(s) to be deleted.
Just make a note somewhere of the time ranges. Ideally do not use LENA to “mark” (highlight) the bad sections. Marking a section actually creates a small .upl file of just that section. If you forget to unmark the bad section, it will persist after you delete the full source file...exactly the opposite of what you are trying to accomplish!
- In that case you would need to find and delete the small marked file from C:\ProgramData\LENA\storage\childdate\[folder for that child’s child key].
- It will have the letters mrk in it, followed by the date and time of that section.
- Here’s an example: 20060425_172146_000565mrk200604241230.upl is the 5-minute section recorded at 12:30 on April 24, 2006, in the file 20060425_172146_000565.upl
1.3. Export the full .wav file.
- Export the full .wav file.
- Make at least one temporary backup copy of that .wav before proceeding.
1.4. Delete the audio "source file" (.upl) from LENA.
The numerical data, graphs, ITS file, .csv exports, etc. will remain available.
After the .upl is deleted, you cannot:
- mark and listen to 5-minute clips from within LENA
- re-export a .trs, .cha, or .wav
So, be sure you have exported everything you will need in the future related to the audio!
There are two methods to delete the .upl:
- From the LENA Settings screen, Storage tab, in the Children section, select the child, then select Delete Audio.
- This will delete ALL .upls for this child, meaning this is a good option if:
- The child has only the one file you are working on, OR
- You are systematically using these procedures for every file for this child.
- This will delete ALL .upls for this child, meaning this is a good option if:
OR
-
Delete the corresponding .upl file from inside the LENA data directory.
- This is a more "surgical" approach.
1.5. Identify the portions of the .wav to be removed.
Correlate clock time and elapsed time using ADEX and Excel (or other spreadsheet)
- Check the Number_Recordings column and/or the Recording_Index column for a number >1 to see if the file contains more than one recording - i.e., if the recording was paused and resumed.
- If the file does has multiple recordings on it, then you will have to adjust for those by creating another column to calculate running elapsed time for the whole file.
1.6. Use other software to edit the .wav file.
-
Replace the corresponding elapsed time range(s) with silence - do not remove the sections.
- Replacing preserves the relationship between clock time and elapsed time throughout the file for later navigation and correlation with LENA export data...and for replacing additional sections!
- In Audacity, the method is to select your precise elapsed time range using fields at the bottom of the screen, and then choose Edit>Remove Special>Silence Audio.
1.7. Overwrite/delete your original and back-up .wav export.
1.8. Delete the .upl from any LENA backups you have created since originally processing this file.
2. Option 2: Preserve select "good" sections of .wav for analysis, then remove the source file.
2.1. Note the file name for the uploaded LENA file you'll be working with.
You will need this information in later steps.
2.2. Export all of the sections you wish to keep.
Export enough 5-minute .wav files to have what you need for analysis.
- Each will be a separate file, with timestamp information in the auto-generated filename.
- You may be able to splice them together into a single file using audio software, but without true continuity this might make it challenging to align the audio clips with the corresponding LENA report/ITS data.
2.3. Correlate clock time and elapsed time, if needed.
See instructions in Option 1.
2.4. Delete the audio "source file" (.upl) from LENA.
See instructions in Option 1.