[g-a-devel]gnome-speech + festival backend speed ...



Hi guys,

	Just trying to setup my demo, I found gnome-speech going at half speed
- rather strange. I could no longer find the speed slider in the speech
dialog (weird) but I'm guessing I left it at 2x speed.

	In which case, is this arithmetic possibly upside down:

--- drivers//festival/festivalspeaker.c 14 Nov 2002 00:49:43 -0000     
1.2
+++ drivers//festival/festivalspeaker.c 11 Feb 2003 13:44:25 -0000
@@ -90,7 +90,7 @@ festival_set_rate (Speaker *speaker,
        gdouble stretch;
        gchar *command;
  
-       stretch = 200/new_value;
+       stretch = new_value / 200;
        command = g_strdup_printf ("(Parameter.set 'Duration_Stretch
%lf)\n", stretch);
        festival_write (fest_speaker, command);
        g_free (command);

	Didn't have time to investigate; how is the speech speed intended to be
set in gnopernicus these days ?

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]