soundgen (version 2.6.2)

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
soundgen:::isCentral.localMax(c(1,1,3,2,1), 2.5)

Run the code above in your browser using DataLab