|
From a Praat shell script, you can switch to an editor and back again:
sound$ = "hallo"
start = 0.3
finish = 0.7
Read from file... 'sound$'.aifc
View & Edit
editor Sound 'sound$'
Zoom... start finish
endeditor
Play
This script reads a sound file from disk, pops up an editor for the resulting object, makes this editor zoom in on the part between 0.3 and 0.7 seconds, and returns to the Praat shell to play the entire sound.
© ppgb, January 28, 2011