onsets.WaveData: Specialized Method for Extracting Onsets from WaveData...

Description Usage Arguments

Description

This method first extracts the energy density, using the energyDensity method, and then calculates onsets based on the energy density.

Usage

1
2
3
4
## S3 method for class 'WaveData'
onsets(ts, limit = c(0.1, 0.01),
  limit.type = c("absolute", "relative"), min.duration = 0.1,
  energy.params = list(), ...)

Arguments

ts

The object containing the time series data.

limit

Parameters used for detecting onsets. See 'Details'

limit.type

Type of limit, which is used to detect on- and offsets. If set to absolute (default) then the limit value is used directly. If set to relative then the limit is determined as the energy in the i-th percentile, where i is given by the limit parameter.

min.duration

Minimum duration of onsets to be detected. Onsets that have less duration than this value (in seconds) will be assumed to be false positives and be discarded. Set to NULL or 0 to disable filtering of short onsets.

energy.params

Additional Parameters passed to energyDensity.

...

ignored


LiKao/VoiceExperiment documentation built on May 7, 2019, 1:19 p.m.