Compute a sound signal intensity track using Praat
praat_intensity.Rd
This function calls Praat to compute an intensity contour for a sound file, and return the result as a Assp Data Object that is stored in an SSFF file (the default), or returned as an object. The analysis will attempt to compensate for the effect of the periodicity introduced by pitch of the produced speech, as well as the constant pressure in the recording environment if supplied with appropriate arguments.
Usage
praat_intensity(
listOfFiles,
beginTime = 0,
endTime = 0,
windowShift = 5,
minF = 80,
subtractMean = TRUE,
window = "Gaussian1",
relativeWidth = 1,
toFile = TRUE,
explicitExt = "int",
outputDirectory = NULL,
verbose = TRUE,
praat_path = NULL
)
Arguments
- listOfFiles
A list of sound files that should be analyzed.
- beginTime
The time (in s) where the analysis should begin.
- endTime
The time (in s) where the analysis should end
- windowShift
The time step (in ms) of the resulting intensity contour.
- minF
The minimum periodicity of the sound signal. If set too high, the intensity variations within a pitch period will influence the computed intensity contour. If set too low, the smearing of the intensity contour may hide rapid intensity variations.
- subtractMean
Should the average intensity be subtracted in order to compensate for the constant pressure of the recording environment?
- window
Which windowing function should be applied when extracting part of the recording for analysis? Allowed windowing functions are "rectangular", "triangular", "parabolic", "Hanning", "Hamming", "Gaussian1", "Gaussian2", "Gaussian3", "Gaussian4", "Gaussian5", "Kaiser1", and "Kaiser2". Consult the Praat manual for more details.
- relativeWidth
The relative with of the window used when extracting part of a sound file for analysis.
- toFile
Should the SSFF track be written to file (TRUE) or returned as an object (FALSE)
- explicitExt
The SSFF file written to disk will have the same name as the original sound file, but with this file extension.
- outputDirectory
The directory where the SSFF track will be stored. Defaults to the same directory as the sound file.
- verbose
For comparability with wrassp functions, and expected by EmuR. Nothing happens if you set it to FALSE:
- praat_path
An explicit path to the Praat executable.