Petit Computer Wiki
Petit Computer Wiki
Advertisement

In the Japanese version, the following can be used in the TALK command, much the same way as MML commands:

@H<number> Intonation

H0: Standard
H1: Girl
H2: Foreigner
H3: Kansai dialect

@N Pitch N1447: C3
N1510 = C # 3
N1559 = D3
N1626 = D # 3
N1686 = E3
N1745 = F3
N1792 = F # 3
N1858 = G3
N1916 = G # 3
N1971 = A3
N2031 = A # 3
N2093 = B3
N2137 = C4
@T Speech speed "T0" to "T1000"
@V Volume "V0" to "V80"
@S Voice

S0: Young man
S1: Young woman
S2: Man
S3: Woman
S4: Old man
S5: Old woman
S6: Boy
S7: Girl
S8: Young woman sister (?)
S9: Anime character
S10: Alien
S11: Giant

@E Emotion/Feeling

E0: Angry
E1: Businesslike
E2: Calm
E3: Disappointed
E4: Excited
E5: In falsetto
E6: Happy
E7: Loud
E8: Monotone
E9: Healthy
E10: Quiet
E11: Ironic
E12: Frightened
E13: Crying
E14: Tense
E15: Whispering
E16: Singing

"Normal" functions for speech follow.

Kana characters: Pronounces the character.
' : Accent.
/ : Accent separate.
| : Phrase separate.
_ : Pause.
. : End of a sentence.
? : End of a sentence (question).
! : End of a sentence (surprise).
% : Disabling before a vowel.

V1[]

This command is not in SmileBasic V1.

V2[]

In the Japanese release of SmileBasic V2, TALK takes between one and nine string parameters (inclusive). The system 'speaks' the string(s) (one after another) on an audio channel using a speech synthesizer. In the North American release, the command does nothing.

See also TALKSTOP (Command) and TALKCHK (Function).

V3[]

TALK "text to be spoken"
In Version 3, TALK only takes one parameter: the text to be spoken. Many of the intonation features have been removed.

Advertisement