Namespace: formant

syngen.audio.formant

Provides factories that define and create circuits that model human vowel sounds.

Source:

Methods

(static) a() → {syngen.audio.formant~Definition}

Returns a formant definition for the vowel A.

Source:
Returns:
Type
syngen.audio.formant~Definition

(static) blend(a, b, mix)

Returns a blend of formants a and b with mix.

Parameters:
Name Type Description
a syngen.audio.formant~Definition
b syngen.audio.formant~Definition
mix Number

Expects a number within [0, 1].

Source:

(static) create() → {syngen.audio.synth~Plugin}

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) createA() → {syngen.audio.synth~Plugin}

Creates a formant effect for the vowel A.

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) createE() → {syngen.audio.synth~Plugin}

Creates a formant effect for the vowel E.

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) createI() → {syngen.audio.synth~Plugin}

Creates a formant effect for the vowel I.

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) createO() → {syngen.audio.synth~Plugin}

Creates a formant effect for the vowel O.

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) createU() → {syngen.audio.synth~Plugin}

Creates a formant effect for the vowel U.

Source:
Returns:
Type
syngen.audio.synth~Plugin

(static) e() → {syngen.audio.formant~Definition}

Returns a formant definition for the vowel E.

Source:
Returns:
Type
syngen.audio.formant~Definition

(static) i() → {syngen.audio.formant~Definition}

Returns a formant definition for the vowel I.

Source:
Returns:
Type
syngen.audio.formant~Definition

(static) o() → {syngen.audio.formant~Definition}

Returns a formant definition for the vowel O.

Source:
Returns:
Type
syngen.audio.formant~Definition

(static) transition(plugin, definitionopt, durationopt) → {Promise}

Transitions formant plugin to definition over duration seconds. Returns a promise that resolves when the transition is complete. The plugin can either be an instance or its parameter hash.

Parameters:
Name Type Attributes Default Description
plugin syngen.audio.formant~Plugin | Object
definition syngen.audio.formant~Definition <optional>
[]
duration Number <optional>
syngen.const.zeroTime
Source:
Returns:
Type
Promise

(static) u() → {syngen.audio.formant~Definition}

Returns a formant definition for the vowel U.

Source:
Returns:
Type
syngen.audio.formant~Definition

Type Definitions

Definition

Formant definition that consists of an array of bandpass filter parameters.

Type:
  • Array.<Object>
Properties:
Name Type Description
frequency Number
gain Number
Q Number
Source:

Plugin

Formant effect that consists of a bank of finely tuned bandpass filters.

Type:
Source: