Santiago Barreda
Assistant Professor, Department of Linguistics, UC Davis

Main Research Vignettes CV phonTools Statistics Links


snip [phonTools]


This snip/zoom function allows for subsections of 'sound' and 'spectrogram' objects to be selected by clicking on the plot of the object. These selections are then plotted or returned. In the example below, I have selected a part of the sound between sound 370-550 ms. 




Code used to generate examples:

par (mar = c(4,4,1,1), mfrow = c(2,1)) data (sound) ## select edges of selection by clicking on plot clipped = snip (sound, show = TRUE)