another dectalk patch

ameer armaly ameer at charter.net
Mon Jun 7 12:47:56 EDT 2004


Hi all.
This new dectalk express patch fixes the problem with the pitch not beeing
set to 100 as the original intent was.  It also removes the pitch
parameter from the init string, since it's already specified as a
parameter  along with volume, voice, rate, and others.
-------------- next part --------------
--- speakup_dectlk.c	2004-06-07 12:43:13.000000000 -0400
+++ speakup_dectlk.new	2004-06-07 12:45:21.000000000 -0400
@@ -195,7 +195,7 @@
 	return 0;
 }
 
-static const char init_string[] = "[:pe -380][:dv ap 100]";
+static const char init_string[] = "[:pe -380]";
 
 static string_var stringvars[] = {
 	{ CAPS_START, "[:dv ap 200]" },
@@ -204,10 +204,10 @@
 };
 static num_var numvars[] = {
 	{ RATE, "[:ra %d]", 9, 0, 18, 150, 25, 0 },
+	{ VOICE, "[:n%c]", 0, 0, 9, 0, 0, "phfdburwkv" },
 	{ PITCH, "[:dv ap %d]", 80, 0, 100, 20, 0, 0 },
 	{ VOL, "[:dv gv %d]", 13, 0, 14, 0, 5, 0 },
 	{ PUNCT, "[:pu %c]", 0, 0, 2, 0, 0, "nsa" },
-	{ VOICE, "[:n%c]", 0, 0, 9, 0, 0, "phfdburwkv" },
 	V_LAST_NUM
 };
    


More information about the Speakup mailing list