In experimental phonetics and psycholinguistics, it is often necessary to prepare audio stimuli that contain consistent silence at the beginning and end of each file. This script was written in Praat to automate that process by adding fixed-length silence to .wav files in batch.
The goal is to standardize audio onset and offset timing, ensuring that all stimuli begin and end with identical silence durations. This helps minimize variability in reaction time experiments and ensures more reliable acoustic presentation across trials.
What the script does:
- Adds a specified amount of silence (e.g., 250 milliseconds) to both the beginning and end of each sound file
- Processes all files in the selected folder automatically
- Saves the modified files in a separate folder for clarity
- Logs progress in the Praat console
Usage:
- Open Praat
- Load the script
- Set the silence duration and select the input folder
- Run the script
GitHub Repository(Link to download script):
https://github.com/bostanberkay/add_silence_beg_and_end_praat_script
You can contact me for further issues, have fun with the script!