Audio stimuli processing
Guide to process stimuli for PROSPR experiment
Last updated
Guide to process stimuli for PROSPR experiment
Last updated
Login into github
Type 'BergelsonLab' in the search box on the top
On the Bergelson lab page, you will see a section called "Respitories". Click on the PROSPR respository.
Click on the 'stimuli.zip' file. This should redirect you to another page. Click the three dot icon and download the file. (for Macs: press Cmd + Shift + s to download).
Save the stimuli folder to the desktop.
Go to this link: https://praat.en.softonic.com/mac and download Praat
Install Praat
Open Praat
When you open praat, two windows will pop-up: The Praat object window and the Praat picture.
Order of Process
Click on Praat tab in the toolbar
Click 'Open Praat script... '
A Finder Window will appear. Follow this path: Desktop > stimuli > audio > scripts. In the scripts folder, you see two files, 'Norm_intensity_duration_carrier' and 'Norm_intensity_duration_target_word.' These two files set the duration and intensity to a fixed value for a subcomponent of the audio files.
The norm_intensity_duration_carrier sets the duration and intensity of all the carrier frames (e.g., "Look at the") to the same value.
The norm_intensity_duration_target sets the duration and intensity of all the target words to the same value.
Open the norm_intensity_duration_carrier file. A script (or code) will appear.
Adjust the following lines of code:
desired_intensity
This sets the intensity in dB. You will change the desired intensity three times (see table).
dir$
This sets the input directory. Set the directory to the lowpass folder (path: desktop > stimuli > audio > carrier_frames > lowpass). See table
newdir$
This sets the output directory. Set the output folder to the appropriate scaled_intensity folder (see table).
Click Run.
Repeat steps 1-4 for norm_intensity_target_word files.
Table. Folder names and desired intensities
carrier_frames
70
lowpass
scaled_intensity_70dB
carrier_frames
75
lowpass
scaled_intensity_75dB
carrier_frames
80
lowpass
scaled_intensity_80dB
target_words
55
target_words
scaled_intensity_55dB
target_words
60
target_words
scaled_intensity_60dB
target_words
65
target_words
scaled_intensity_65dB