FormantTable:
Filter:
Classes (extension) | Collections

FormantTable : Object
ExtensionExtension

Lookup table for emulating vocal tracts

Description

Returns a set of frequencies+resonances+amplitudes for a set of 5 bandpass filters, useful for emulating the main 5 formants of a vocal tract. To see the available voice types run this line:

Class Methods

FormantTable.keys

returns a Set with all available voice types.

FormantTable.get(preset)

returns an Array of arrays. [[frequencies], [resonances], [amplitudes]]

Arguments:

preset

a Symbol.

FormantTable.at(preset)

alias of *get

FormantTable.rand

returns [[frequencies], [resonances], [amplitudes]] for a random voice type.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(by Eric Skogen)