Skip to content

A few scripts and audio files for analysis with Praat, for plotting some vowels

Notifications You must be signed in to change notification settings

tomproberts/vowel-comparison

Repository files navigation

Vowel Comparison

Just a few mp3s and scripts for plotting my vowels. The inspiration behind the project was the Golden Speaker Builder - An interactive tool for pronunciation training paper from Ding et Al (2019). It's noted that:

prior research indicates that second-language learners are more likely to succeed when they imitate a speaker with a voice similar to their own, a so-called "golden speaker"

I decided to create a "golden speaker" for myself using the Voice Cloning and Text-to-Speech from ElevenLabs, and to investigate

  1. How well (based on my perception) the ElevenLabs voice cloning is able to sound like me
  2. How well the clone is able to generalise to another language while still sounding like me
  3. How statistically different the clone is to my own real voice, when speaking another language

Introduction

Using ElevenLabs to create an Instant Voice clone of myself from English language audio, I initially generated mp3s of the Aesop's Fable The North Wind and the Sun (Die Sonne und der Wind) in German, using their Eleven Multilingual v2 model. Additionally, I recorded actual audio of me reading out Die Sonne und der Wind in German.

I manually created TextGrids of utterances for each mp3, creating boundaries between each sentence.

Using Montreal Forced Alignment (MFA), I generated TextGrids for each audio file, annotated with phones.

Using Praat, I analysed the F1, and F2 formants of the vowels, and exported them.

Using ggplot2 and R, I plotted a bunch of graphs comparing my own vowel formants to those of the voice clone.

Individual Words

After this, I created a few lists of individual words with particular vowels in them, where there are words including the vowel in different contexts. The wordlists in question can be found in txt/singlewords.txt. I did the same as above, using MFA and Praat to analyse the formants, and used R to make some plots.

Getting Started

Plot_clone_vs_me.R

In this file, you can compare the formants for the same vowels across different speakers, such as the Clone speaker and Me, both in German and English. It also contains a statistical analysis section at the bottom where I do MANOVA to test effect size and statistical significance.

Plot_vowel_contexts.R

In this file, you can compare the formants for the same vowels in different contexts, but for the same speaker. It also labels each point with the word that has the corresponding vowel in it.

Plot_all_monophthongs.R

In this file, all the formants extracted from the (old) "Die Sonne und der Wind" poem are displayed for all of the monophongs. Wouldn't really recommend.

About

A few scripts and audio files for analysis with Praat, for plotting some vowels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published