Created
June 26, 2015 13:35
-
-
Save jflanaga/1a232c5a7db75724d040 to your computer and use it in GitHub Desktop.
Script for printing waveforms and spectrograms with Praat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sound = selected ("Sound") | |
textgrid = selected ("TextGrid") | |
spectrogram = selected ("Spectrogram") | |
formant = selected ("Formant") | |
Select inner viewport: 1, 5, 1, 2 | |
select sound | |
Draw... 0 0 0 0 no Curve | |
Draw inner box | |
Select inner viewport: 1, 5, 2, 3.4 | |
select spectrogram | |
Paint... 0 0 0 0 100 yes 50 6 0 no | |
Red | |
select formant | |
Speckle... 0 0 5500 30 no | |
Black | |
Draw inner box | |
Marks left every... 1 1000 yes yes yes | |
Text left... yes Frequency (Hz) | |
Select inner viewport: 1, 5, 1, 4 | |
select textgrid | |
Draw... 0 0 no no yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment