View source: R/praat_slicefunctions.R
praat_voice_report | R Documentation |
The Praat program defines a voice report containing a range of fundamental properties of a voice sample. The most common application of the voice report is on a sustained vowel. This function computes the report from a sectio of a recording using Praat, and returns the voice measures as a list. The function also enable the user to mark just a part of the sustained vowel for analysis using an offset and a subsample length. In this scenario, the user specifies the start and end times (beginTime
and endTime
, respectively) of the sustained vowel. Then, the user specifies a selectionOffset
, which is the number of seconds into the vowel where extraction for analysis will start. Finally, the user specifies a selectionLength
, which is the (maximum) length of the extracted part. This means that if the user has a sustained vowel staring 1 second into the signal and extends for 2 seconds (very short), and the user asks for a 2 second extraction starting 0.5 s into the vowel, what will actually be analysed is a portion from 1.5s to 3s (a 1.5s signal, and not the 2s that the user asked for). This behavior is there so that the user is not inadvertently adding parts that are not part of a sustaind vowel production. The user may of course always choose to disregard measurements that were based on a too short sample.
praat_voice_report(
listOfFiles,
beginTime = NULL,
endTime = NULL,
selectionOffset = NULL,
selectionLength = NULL,
windowShape = "Gaussian1",
relativeWidth = 1,
minF = 75,
maxF = 600,
max_period_factor = 1.3,
max_ampl_factor = 1.6,
silence_threshold = 0.03,
voicing_threshold = 0.45,
octave_cost = 0.01,
octave_jump_cost = 0.35,
voiced_unvoiced_cost = 0.14,
praat_path = NULL
)
listOfFiles |
The full path of the sound file. |
beginTime |
The time point (in s) in the sound file where the sustained vowel starts. If |
endTime |
The time point (in s) in the sound file where the sustained vowel ends. If |
selectionOffset |
An optional offset to be added to the time of the sustained vowel production when determining where the start of the extracted portion of the vowel. |
selectionLength |
An optional (maximal) length of the selection. |
windowShape |
The window shape used for extracting the vowel. May be one of "rectangular", "triangular", "parabolic", "Hanning", "Hamming", "Gaussian1", "Gaussian2", "Gaussian3", "Gaussian4", "Gaussian5", "Kaiser1", and "Kaiser2". |
relativeWidth |
The relative width of the window used for extracting the vowel portion. |
minF |
The minimum pitch (f~0~) to be considered. |
maxF |
The maximum pitch (f~0~) to be considered. |
max_period_factor |
The larges possible differences between consecutive intervals that will be used in computing jitter. Please consult the Praat manual for further information. |
max_ampl_factor |
The larges possible differences between consecutive intervals that will be used in computing schimmer Please consult the Praat manual for further information. |
silence_threshold |
The silence threshold. Please consult the Praat manual for further information. |
voicing_threshold |
The voicing threshold. Please consult the Praat manual for further information. |
octave_cost |
The octave cost. Please consult the Praat manual for further information. |
octave_jump_cost |
The octave jump cost. Please consult the Praat manual for further information. |
voiced_unvoiced_cost |
The cost for voiced to unvoiced change detection. Please consult the Praat manual for further information. |
praat_path |
An optional explicit path to the Praat binary. Not usually required. |
which may be advantageous in cases where it may be suspected that
A list of voice parameters:
The median pitch (f~0~) of the sample (in Hz)
The mean pitch (f~0~) of the sample (in Hz)
The standard deviation of pitch (f~0~, in Hz) of the sample.
The lowest pitch (f~0~) detected (in Hz)
The highest pitch (f~0~) detected (in Hz)
The number of pulses detected
The number of periods detected
The average period length
The standard deviation of period length
The fraction of frames detected as unvoiced in the sample.
Number of voice breaks
The number of voice breaks in relation to the number of frames
The average absolute difference between consequtive periods, divided by the average period (in %). See the Praat manual for more information.
The average absolute difference between consequtive periods, in seconds. See the Praat manual for more information.
The three point Relative Average Pertubation: the average absolute difference between a period and the three point local average, divided by the average period (in %).
The five point Relative Average Pertubation: the average absolute difference between a period and the five point local average, divided by the average period (in %).
The average absolute difference between consequtive differences between periods, divided by the average period (in %).
The average absolute difference between amplitudes of consequtive periods, divided by the average amplitude (in %).
The average absolute difference between amplitudes of consequtive periods (in dB).
The three point Amplitude Pertubation Quotient: the average absolute difference between the amplitude of a period and the three point local average, divided by the average amplitude (in %).
The five point Amplitude Pertubation Quotient: the average absolute difference between the amplitude of a period and the five point local average, divided by the average amplitude (in %).
The 11 point Amplitude Pertubation Quotient: the average absolute difference between the amplitude of a period and the 11 point local average, divided by the average amplitude (in %).
The average absolute difference between consequtive differences between amplitudes of consequtive periods, divided by the average period (in %).
The average autocorrelation of the signal.
The average NHR of the voice sample.
The average HNR of the voice sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.