Skip to content

bendichter/FujiParamEditorHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FujiParamEditorHelper

helper function for interacting with FujiParamEditor files in python.

Installation

git clone https://github.com/bendichter/FujiParamEditorHelper.git
cd FujiParamEditorHelper
pip install .

Usage

Interacting with .f0_ascii files:

from FujiParamEditorHelper import write_f0_ascii, read_f0_ascii

write_f0_ascii(pitch, tt_pitch, fname)
read_f0_ascii(f0_ascii_file)

Interacting with .PAC files:

from FujiParamEditorHelper import read_pac_file, get_accent_contour, get_phrase_contour, get_baseline
# for parameters:
read_pac_file(pac_file)

# for contours of components of model:
accent = get_accent_contour(pac_file)
phrase = get_phrase_contour(pac_file)
baseline = get_baseline(pac_file)

to reconstruct pitch from Fujisaki components:

reconstructed_pitch = fuji2pitch(baseline, accent, phrase)

About

helper function for interacting with FujiParamEditor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages