Description Usage Arguments Details Value Examples
View source: R/utilities_soundgen.R
Internal soundgen function.
1 | convertStringToFormants(phonemeString, speaker = "M1")
|
phonemeString |
a string of characters from the dictionary of phoneme presets, e.g., uaaaaii (short u - longer a - medium-long i) |
speaker |
name of the preset dictionary to use |
Takes a string of phonemes entered WITHOUT ANY BREAKS. Recognized phonemes in the human preset dictionary: vowels "a" "o" "i" "e" "u" "0" (schwa); consonants "s" "x" "j".
Returns a list of formant values, which can be fed directly into
getSpectralEnvelope
1 2 3 4 | formants = soundgen:::convertStringToFormants(
phonemeString = 'aaeuiiiii', speaker = 'M1')
formants = soundgen:::convertStringToFormants(
phonemeString = 'aaeuiiiii', speaker = 'Chimpanzee')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.