Skip to content
Tone.js

PhaseShiftAllpass

internal class Component ↳ extends ToneAudioNode<ToneAudioNodeOptions>

PhaseShiftAllpass is an very efficient implementation of a Hilbert Transform using two Allpass filter banks whose outputs have a phase difference of 90°. Here the offset90 phase is offset by +90° in relation to output. Coefficients and structure was developed by Olli Niemitalo. For more details see: http://yehar.com/blog/?p=368

new PhaseShiftAllpass(options?: Partial<ToneWithContextOptions>)

Parameters

read-only

input: Gain<"gain">

The input node or nodes. If the object is a source, it does not have any input and this.input is undefined.

read-only

name: string

The name of the class

Default: "PhaseShiftAllpass"

read-only

offset90: Gain<"gain">

The PhaseShifted allpass output

read-only

output: Gain<"gain">

The phase shifted output

dispose(): this

Dispose and disconnect

Returns this