Skip to main content

New Vowel Extraction Suite

Project description

new-fave

PyPI Python CI codecov Maintainability License: GPL v3

What is new-fave?

new-fave is a tool for automating and optimizing vowel formant extraction. It is philosophically similar (and named after) the FAVE-suite. However, new-fave has been completely written from scratch, and has some key differences from the FAVE-suite.

  1. new-fave does not include a forced-aligner. It can process alignments produced by fave-align, but we would recommend using the Monteal Forced Aligner instead
  2. new-fave does not require speaker demographics. You can optionally pass fave-extract a speaker demographics file to be merged into your formant data, but this does not influence how the data is processed in any way. Besides including file name and speaker number data, you can pass any demographic information you would like.
  3. new-fave does not assume North American English vowels. Your alignments can contain any set of vowels, in any transcription system, as long as you can provide a regular expression to identify them.
  4. new-fave is customizable. With config files, you can customize vowel recoding, labelset parsing, and point measurement heuristics.
  5. new-fave is focused on formant tracks. You can still produce single point measurements for vowels, but new-fave is built upon the FastTrack method. By default, it will write output files including point measurements, full formant tracks, and Discrete Cosine Transform coefficients.
  6. new-fave is maintainable. As time goes on, and the code base needs updating, the organization and infrastructure of new-fave should allow it to be readilly updateable.

You can read more at the new-fave documentation.

Installation

You can install new-fave with pip.

# bash
pip install new-fave

Usage

To use the default settings (which assume CMU dictionary transcriptions), you can use one of these patterns.

A single audio + textgrid pair

# bash
fave-extract audio-textgrid speaker1.wav speaker1.TextGrid

A directory of audio + textgrid pairs

# bash
fave-extract corpus speakers/

Multiple subdirectories of audio + textgrid pairs

# bash
fave-extract subcorpora data/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

new_fave-1.0.1.tar.gz (44.1 kB view hashes)

Uploaded Source

Built Distribution

new_fave-1.0.1-py3-none-any.whl (54.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page