Skip to content

aud.attackleap

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

The attack phase detected using the 'Attacks' option in aud.events can offer some timbral characterizations. One simple way of describing the attack phase consists in estimating the amplitude difference between the beginning and the end of the attack phase. Values are expressed in the same scale than the original signal..

Flowchart interconnections

aud.attackleap 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.

Some options in aud.events can be controlled:

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

aud.attackleap returns several outputs:

  • the attack leap itself and
  • the event detection curve returned by aud.events, including the detected events and the attack phases.
Clone this wiki locally