Learn R Programming

AcousticNDLCodeR (version 1.0.2)

getBoundary: Helper function for makeCues that splits the signal based on the envelope of the signal

Description

Helper function for makeCues that splits the signal based on the envelope of the signal

Usage

getBoundary(Wave, smooth = 800)

Arguments

Wave

A Wave object (see tuneR)

smooth

A parameter for using the kernel smooth function provied by the package zoo.

Value

A vector with the sample numbers of the boundaries.

Examples

Run this code
# NOT RUN {
       
# }
# NOT RUN {
       library(tuneR)
       Wave=readWave("MyWaveFile.wav")
       Boundaries=getBoundary(Wave,800)
       
# }

Run the code above in your browser using DataLab