Options
All
  • Public
  • Public/Protected
  • All
Menu

Like AFReverse, AFReverseLeadIn inserts a reversed AudioFile into the session. However the two techniques differ in how they align the input audio file. AFReverseLeadIn insert the audio file starting BEFORE the triggering event. The releaseSeconds identifies a point in the sample where the "release" of the sound begins. This point will be aligned at the onset of the triggering event.

Use this when you have an audio sample with an interesting release portion, and you want that release portion to "lead in" to the triggering event.

The lead in time is capped so that no matter how long the release portion of the input Audio File is, this audio sample will be inserted no more than 3.5 seconds in advance of the triggering event.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

audioFile

audioFile: AudioFile

Accessors

onsetSeconds

  • get onsetSeconds(): number
  • set onsetSeconds(seconds: number): void
  • Time at which the sample's "body" begins, relative to the start of the source audio file.

    Returns number

  • Time at which the sample's "body" begins, relative to the start of the source audio file.

    Parameters

    • seconds: number

    Returns void

releaseSeconds

  • get releaseSeconds(): number
  • set releaseSeconds(seconds: number): void
  • Time at which the sample's "decay" begins, relative to the start of the source audio file.

    Returns number

  • Time at which the sample's "decay" begins, relative to the start of the source audio file.

    Parameters

    • seconds: number

    Returns void

Methods

use