Sindarin Stress Analyser

Result:

IPA:

Paul Strack provides an excellent explanation of stress and IPA on Eldamo:

Sindarin has six vowels: i, e, a, o, u, and y. These are represented in IPA as [i], [ɛ], [a], [ɔ], [u], and [y]. It’s worth noting that while some might think the IPA for "a" is [a], it is probably closer to [ä] in practice.

Sindarin also features six or seven diphthongs: ai [a͡ɪ], ei [e͡ɪ], ui [u͡ɪ], au [a͡ʊ], ae [a͡ɛ], oe [o͡ɛ].

I also want to give a big shout-out to Faeleth, who helped me refine my code for these. Without her help, I would still be pulling my hair out.