syntax help
tokens (whitespace-separated)
PHONEMEARPABET code (AY, IH, AA, S, ...)PHONEME!stressed (transient: +8 Hz lift, longer duration)PHONEME+Nrising pitch glide of N Hz; new pitch sticksPHONEME-Nfalling pitch glide of N Hz; new pitch sticksPHONEME(+N)transient rise: ornament only, doesn't carry forwardPHONEME(-N)transient fall( PHONEMES )syllable group: phonemes share one rate slot, ; .short / medium / long pause (100/200/300 ms)bN b=Nabsolute base F0 in Hz (also accepts notes: bC4, bC#5, bDb3, bA-1, etc.)b+N b-Nrelative base F0 (running pitch shifts by N)breset base F0 to the utterance's starting valuerN r=Nabsolute per-phoneme rate in msr+N r-Nrelative rate (positive = slower)rreset rate to opts defaultpN p=Ninsert exact N-ms pausesN s=Nabsolute formant scale (1.0 = male baseline, 1.17 = typical female, 1.3 = child)s+N s-Nrelative scale shift (decimal: s+0.1, s-0.05)sreset scale to opts defaultvNvibrato depth in Hz (peak deviation; 0 = off)v+N v-Nrelative depth shiftvreset vibrato depthwNvibrato rate in Hz (LFO frequency, default 5)w+N w-N wrelative / resetmNtremolo depth (0..1; amplitude modulation)m+N m-N mrelative / resetnNtremolo rate in Hz (default 5)n+N n-N nrelative / resethNbreathiness / aspiration mix (0..1)h+N h-N hrelative / resettNspectral tilt (-0.9 darker .. +0.9 brighter)t+N t-N trelative / resetgNvocal effort (0 lax .. 1 tense; 0.5 default)g+N g-N grelative / reset[base=N] etc.verbose form, equivalent to bN, rN, pN, sN[bank=NAME]switch active phoneme bank for subsequent phonemes[bank]reset active phoneme bank to the initial selection# rest of linecomment/* ... */block comment (can span multiple lines)f0 evolution
- stress (
!) is transient: doesn't carry forward - bare pitch deltas
+N/-Nare sticky: mutates the running pitch - parenthesized deltas
(+N)/(-N)are transient: this phoneme only bN(orbC4etc.) is an absolute reset to that pitch- bare
breturns to the utterance's starting pitch
D at base+20, IH at base+30, D at base+30
D at base, IH at base, D at base (ornaments)
D at base+20, IH peaks at +30, D back at +20
examples (click to load & play)
hello, default voice
higher voice
higher voice (note name)
"I did" with rise; D and IH stay raised
fall, reset, then rise
"did THAT" with accent ornament on AE
people make things with this
made something? share it with #klattsch and tag @me_irl, or post it in the discord to get it featured here.