[ENH][FIX] SpeakerDelayFix-nk ( [sm] morph ok, probable bugs in #say: )

germanmorales at delta-sys.com germanmorales at delta-sys.com
Fri Feb 20 11:02:41 CET 2004


The changes make the morph look a lot nicer.

probable bugs in #say:
1.
the message 'self voice playSilenceMSecs: self numberSignDelay' seems to
do nothing, since when playSilenceMSecs: is activated the instance var
'sound' is nil.
what is it supposed to do?

2.
different delays (#) inside a phrase are played all together at the
beginning of the phrase.
example:
   'Hello ##### how ##### are ##### you? ##### what''s for ##### lunch?'
   sounds (after the parsing) as if you had written:
   '##### ##### ##### Hello how are you? ##### ##### what''s for lunch?'
is this intentional?

3.
delay is never reset.
i think it should be reset to 0 when string is reset to ''

4.
the #say: comment shouldn't have the number 200 hardcoded, it should
refer to the method numberSignDelay














<This post brought to you by BFAV2>


More information about the Squeak-harvest mailing list