added some aliases for the vowels (cosmetics)

This commit is contained in:
fnordomat 2024-01-13 15:11:30 +01:00
parent 6232560273
commit efa0737660
2 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,14 @@ export var vowelFormant = {
en: { freqs: [600, 1480, 2450, 3200, 3300], gains: [1, 0.15, 0.0708, 0.0316, 0.02995], qs: [40, 60, 100, 120, 120] },
an: { freqs: [700, 1050, 2500, 3000, 3300], gains: [1, 0.1, 0.0708, 0.0316, 0.02995], qs: [40, 60, 100, 120, 120] },
on: { freqs: [500, 1080, 2350, 3000, 3300], gains: [1, 0.1, 0.0708, 0.0316, 0.02995], qs: [40, 60, 100, 120, 120] },
get æ() { return this.ae; },
get ø() { return this.oe; },
get ɑ() { return this.aa; },
get å() { return this.aa; },
get ö() { return this.oe; },
get ü() { return this.ue; },
get ı() { return this.y; },
};
if (typeof GainNode !== 'undefined') {
class VowelNode extends GainNode {