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:
(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 |
- Source:
(static) create() → {syngen.audio.synth~Plugin}
- Source:
Returns:
(static) createA() → {syngen.audio.synth~Plugin}
Creates a formant effect for the vowel A.
- Source:
Returns:
(static) createE() → {syngen.audio.synth~Plugin}
Creates a formant effect for the vowel E.
- Source:
Returns:
(static) createI() → {syngen.audio.synth~Plugin}
Creates a formant effect for the vowel I.
- Source:
Returns:
(static) createO() → {syngen.audio.synth~Plugin}
Creates a formant effect for the vowel O.
- Source:
Returns:
(static) createU() → {syngen.audio.synth~Plugin}
Creates a formant effect for the vowel U.
- Source:
Returns:
(static) e() → {syngen.audio.formant~Definition}
Returns a formant definition for the vowel E.
- Source:
Returns:
(static) i() → {syngen.audio.formant~Definition}
Returns a formant definition for the vowel I.
- Source:
Returns:
(static) o() → {syngen.audio.formant~Definition}
Returns a formant definition for the vowel O.
- Source:
Returns:
(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 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: