File: flowm.notes

package info (click to toggle)
flite 2.1-release-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 83,704 kB
  • sloc: ansic: 693,308; sh: 4,998; lisp: 3,013; cpp: 994; makefile: 905; xml: 52; perl: 33
file content (254 lines) | stat: -rw-r--r-- 8,096 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254

flowm
   Flite on Windows Mobile
   flite file reader development  "flown" or "flowm"
   build up with cegcc menu example
   type in text first
   file selection.
     good searching, bookmarking, replay (slower)
   on screen word highlighting (default -- but optional)
   wget data 
     interpretation of xml marked up programmes/channels
     to get data and read it (like rss)
   skinable 
   scriptable (through ssml)

  Would be good to have voice choices
     CG and VT if possible
       computationally too expensive

0.7
   TODO
*     screen off option on main screen
*       (makes it battery efficient)
*       http://msdn.microsoft.com/en-us/library/ms838354.aspx
*       http://forums.microsoft.com/china/ShowPost.aspx?PostID=4273639&SiteID=15
*     no ending on ok
*    fast backskip causes a crash
*    long filenames badly displayed
*      added ES_AUTOHSCROLL to field
*    more control in play dialog box
*      choose voice
*      display pronunciation/text expansion etc
*    allow waveform saving in play
*    BM in play text not play file
*    normalize volume across voices (boost cg ones)

     do something with silences to optimize speed
     back/forward over restarts seems to over skip
     keyboard accelerators (at least ctrl-q)
     can't stop BM "1982 was ..." would take a little time
     get rid of title bar on open/savefile box
        tgps doesn't have the problem
     "save" grey out if nothing to save
     some content on the startup screen
        logo plus play or play_file buttons
     CAB installation (with lcab)
        no evidence lcab works for mw yet
        http://nedge2k.com/cab-o-matic ??
     cut and paste from other apps
     file position over app restarts
         and voice selection
     make it not look like a .net app
     screen off after n seconds of play
     previous files selection in file selection
     button support (no ending on ok, stop continue etc)
     screen rotate
     icons rather than text on buttons
         play/stop as one button
         autorepeat on forward/back
         scroll wheel (volume or forward back or faster/slower)
     dll version (for voices too) would be good
     progress bar
     word highlighting at play time
     a talking head example
     prc files
     Inertia based file listing 
       Inertia based position finding in file

0.6 19th
   5.01meg with kal, awb, rms and slt

   with screen off, 40 minutes of running used 6% of battery
      (kal might be different from cg voices)
   a benchmark in flowm so I can find out the speed of the machine
      GetSystemTime (but no milliseconds)

   if #define double float in cst_mlsa.c
      Tilt kal 503.5  16.0 31.47
           awb  44.3  50.0  0.89  but it *is* fast enough (sort of)
           rms  48.9  54.0  0.91  
      and a wee bit faster again if wifi is turned off 

      Tilt kal 503.5  15.0 33.56 
           awb  43.7  69.0  0.63
           rms  48.3  72.0  0.68
      2755 kal 503.5   8.0 62.93 
           awb  43.7  52.0  0.84 1.50
           rms  48.3  53.0  0.91 1.50
      3635 kal 503.5  23.0 21.89
           awb  43.7 118.0  0.37
           rms  48.3 123.0  0.39
      P2   kal 503.5  12.0 41.96
           awb  43.7  68.0  0.64
           kal  48.3  70.0  0.68
      
   dll version (for voices too) would be good
   some content on the startup screen
   - forward/back utterance
         forward/back paragraph/chapter/file
     quick back skips causes crash
   - try out PowerPolicyNotify(PPN_UNATTENDEDMODE, 1); during play
        http://channel9.msdn.com/wiki/mobiledeveloper/powerpolicynotify/
   * do file pos as percentage
         progress bar
   get rid of title bar on openfile box
   * cg voices give click at buffer change
     good enough on 2755 (rms and awb order 13/8K)
     * get a 641K awb voice (and others)
       720K actually with 13 params
   * good enough for tilt (#define double float)
   * multi-voice version
   * made audio_streaming_info with min_buffsize
   file position over app restarts
   icons rather than text on buttons
       play/stop as one button
   make it not look like a crude app
   cut and paste from other apps
   more control in play menu
      display pronunciation/text expansion etc
   word highlighting at play time
   a talking head example
   keyboard accelators
   ok should background it not stop it

0.5
   - forward/back utterance
         forward/back paragraph/chapter/file
     quick back skips causes crash
   - try out PowerPolicyNotify(PPN_UNATTENDEDMODE, 1); during play
        http://channel9.msdn.com/wiki/mobiledeveloper/powerpolicynotify/
   * do file pos as percentage
   cg voices give click at buffer change
     good enough on 2755 (rms and awb order 13/8K)
     * get a 641K awb voice (and others)
       720K actually with 13 params
   * multi-voice version
   * made audio_streaming_info with min_buffsize
   13th January

   hp2 9:54 awb 8k 2755 (black clip) 98%
     backlight off after 2 minutes
   10:30 fp  29500 79%
   12:02 fp 104204 36%  (looks like nearly 3hrs on one charge)
   12:43 fp 136282 16% 

0.4
   using threads so that stop works
     can't share alloced memory over threads
   add streaming synthesis
     stop works
   need to select position in file
   nees to save position in file for continuation
   pause and continue
   stop it from going to sleep (but do screen blank)

   8K awb 1139896
   16K awb 2227760
   could be 641K if order 18 and get rid of std in statics

   Put back in the Play_thread.  With a large buffer size, it sort of
     works (spool vs streaming)

   Tested under 
     Ipaq 3635 WinCE 3.0
     Phraselator 2 Windows CE 4.20 (HPC?)
        gives an error at exit time (maybe the others do too ..)
     HP hx2755 PocketPC 2003 
     AT&T Tilt PocketPC 6.0

  4th Jan 2009

0.3
  TTS from a .txt file
    display tokens in window as we go
  redo the menus and forms layout
  Still very basic though.
  stop doesn't work bacause things don't get back to the event loop.
  2nd Jan 2009   

0.2
  have windows, a dialog box with a play and editable text box
  spent ages working out how to program in WinCE but seems to work now
  1st Jan 2009

0.1
  play_wave(w) does the right thing
     au_wince.c seems to work
  moved to mingw32ce version 
  added a .rc resource file and tidied up configure.in

  moved to cst_file_wince.c rather than cst_file_cegcc.c (deleted)
  fixed bugs in cst_file_wince.c

  type in box and audio out
 
  want flite.dll cmu_us_kal_diphone.dll usenglish.dll maybe   
  have them loaded (so voice isn't in flowm)

  Need examples/tutorial on building an app with inputs, defaults, options
  file loading display etc.

  streaming synthesis? (and call back)

0.0
  compiled flite with message box displaying number of bytes in
  synthesized waveform.  Synthesis seems to work, WCHARs support is
  necessary
  cst_wchar.[ch]
  6th June 2008

-------------------------

Making dlls (using dlls)

  http://craigshaw.com/ (for ffmpeg)

Example code
  http://www.codeproject.com/KB/mobile/

dll building
  http://www.ibm.com/developerworks/aix/library/au-porting/index.html

Books

Programming Microsoft Windows CE, Second Edition (Pro-Developer) (Paperback)
Online sample chapters
http://www.microsoft.com/mspress/books/sampchap/5461b.aspx

code samples (for eVC++)
http://msdn.microsoft.com/en-us/library/bb158662.aspx

Simple, but larger CE example in C++
http://www.codeproject.com/KB/mobile/ce_cards.aspx

join codeproject
awbcmu
publicpass

But found good examples that are (mostly) compilable in 
  Programming Microsoft Windows CE (Doug Boling)
Bought second hand on Amazon for $11
It has online examples, and a version of the book all in CHM format

Its actually all online 
http://iptvforum.cn/wince/wince-programming-ms-press2/source/prowice/ch04d.htm


Keeping app running while in sleep model

            PowerPolicyNotify(PPN_UNATTENDEDMODE, 1);
            SystemIdleTimerReset();        // call this periodically
            SetSystemPowerState(null, POWER_STATE_ON, POWER_FORCE); 

http://forum.xda-developers.com/showthread.php?t=379366