Skip to content

aud.decaytime

Olivier Lartillot edited this page Jan 26, 2018 · 1 revision

The decay phase detected using the 'Decays' option in aud.events can offer some timbral characterizations. One simple way of describing the decay phase consists in estimating its temporal duration.

Flowchart interconnections

aud.decaytime accepts as input data type either:

  • event detection curves (resulting from aud.events), already including peaks or not,
  • and all the input data accepted by aud.events.

aud.events is normalized using the 'Normal' option set to 'AcrossSegments'.

Some options in aud.events can be controlled:

  • aud.decaytime(..., 'Filter') uses the 'Filter' method instead of the default 'Spectro'.
    • aud.decaytime(..., 'Down', r) controls the 'Down' option in aud.events.
    • aud.decaytime(..., 'CutOff', f) controls the 'CutOff' option in aud.events.
  • aud.decaytime(..., 'Single') toggles on the 'Single' option in aud.events.
  • aud.decaytime(..., 'LogCurve') toggles on the 'Log' option in aud.events.
    • aud.decaytime(..., 'MinLog', ml) controls the 'MinLog' option in aud.events.
  • aud.decaytime(..., 'Contrast', c) controls the 'Contrast' option in aud.events.
  • aud.decaytime(..., 'PreSilence') toggles on the 'PreSilence' option in aud.events.
  • aud.decaytime(..., 'PostSilence') toggles on the 'PostSilence' option in aud.events.

aud.decaytime returns several outputs:

  • the decay time itself and
  • the event detection curve returned by mirevents, including the detected events and the attack phases.

Options

  • aud.decaytime(..., scale) specifies the output scale, linear or logarithmic. Possible values for scale are:
    • scale = 'Lin' returns the duration in a linear scale (in seconds). (Default choice)
    • scale = 'Log' returns the duration in a log scale (Krimphoff et al., 1994).
Clone this wiki locally