Calculates the mean (average) of all amplitude values in a sound object. Works with both S3 praat_sound objects and R6 Sound objects.
Examples
sound <- Sound$from_values(c(-1, 0, 1), sampling_rate = 1000)
sound_mean(sound) # Returns 0
#> [1] 0
Calculates the mean (average) of all amplitude values in a sound object. Works with both S3 praat_sound objects and R6 Sound objects.
sound <- Sound$from_values(c(-1, 0, 1), sampling_rate = 1000)
sound_mean(sound) # Returns 0
#> [1] 0