soundgen (version 1.5.0)

isCentral.localMax: Simple peak detection

Description

Internal soundgen function.

Usage

isCentral.localMax(x, threshold)

Arguments

x

input vector

threshold

threshold for peak detection

Examples

Run this code
# NOT RUN {
soundgen:::isCentral.localMax(c(1,1,3,2,1), 2.5)
# }

Run the code above in your browser using DataCamp Workspace