Debian Codegraph @

wince/flowm.notes

raw
1
2 flowm
3 Flite on Windows Mobile
4 flite file reader development "flown" or "flowm"
5 build up with cegcc menu example
6 type in text first
7 file selection.
8 good searching, bookmarking, replay (slower)
9 on screen word highlighting (default -- but optional)
10 wget data
11 interpretation of xml marked up programmes/channels
12 to get data and read it (like rss)
13 skinable
14 scriptable (through ssml)
15
16 Would be good to have voice choices
17 CG and VT if possible
18 computationally too expensive
19
20 0.7
21 TODO
22 * screen off option on main screen
23 * (makes it battery efficient)
24 * http://msdn.microsoft.com/en-us/library/ms838354.aspx
25 * http://forums.microsoft.com/china/ShowPost.aspx?PostID=4273639&SiteID=15
26 * no ending on ok
27 * fast backskip causes a crash
28 * long filenames badly displayed
29 * added ES_AUTOHSCROLL to field
30 * more control in play dialog box
31 * choose voice
32 * display pronunciation/text expansion etc
33 * allow waveform saving in play
34 * BM in play text not play file
35 * normalize volume across voices (boost cg ones)
36
37 do something with silences to optimize speed
38 back/forward over restarts seems to over skip
39 keyboard accelerators (at least ctrl-q)
40 can't stop BM "1982 was ..." would take a little time
41 get rid of title bar on open/savefile box
42 tgps doesn't have the problem
43 "save" grey out if nothing to save
44 some content on the startup screen
45 logo plus play or play_file buttons
46 CAB installation (with lcab)
47 no evidence lcab works for mw yet
48 http://nedge2k.com/cab-o-matic ??
49 cut and paste from other apps
50 file position over app restarts
51 and voice selection
52 make it not look like a .net app
53 screen off after n seconds of play
54 previous files selection in file selection
55 button support (no ending on ok, stop continue etc)
56 screen rotate
57 icons rather than text on buttons
58 play/stop as one button
59 autorepeat on forward/back
60 scroll wheel (volume or forward back or faster/slower)
61 dll version (for voices too) would be good
62 progress bar
63 word highlighting at play time
64 a talking head example
65 prc files
66 Inertia based file listing
67 Inertia based position finding in file
68
69 0.6 19th
70 5.01meg with kal, awb, rms and slt
71
72 with screen off, 40 minutes of running used 6% of battery
73 (kal might be different from cg voices)
74 a benchmark in flowm so I can find out the speed of the machine
75 GetSystemTime (but no milliseconds)
76
77 if #define double float in cst_mlsa.c
78 Tilt kal 503.5 16.0 31.47
79 awb 44.3 50.0 0.89 but it *is* fast enough (sort of)
80 rms 48.9 54.0 0.91
81 and a wee bit faster again if wifi is turned off
82
83 Tilt kal 503.5 15.0 33.56
84 awb 43.7 69.0 0.63
85 rms 48.3 72.0 0.68
86 2755 kal 503.5 8.0 62.93
87 awb 43.7 52.0 0.84 1.50
88 rms 48.3 53.0 0.91 1.50
89 3635 kal 503.5 23.0 21.89
90 awb 43.7 118.0 0.37
91 rms 48.3 123.0 0.39
92 P2 kal 503.5 12.0 41.96
93 awb 43.7 68.0 0.64
94 kal 48.3 70.0 0.68
95
96 dll version (for voices too) would be good
97 some content on the startup screen
98 - forward/back utterance
99 forward/back paragraph/chapter/file
100 quick back skips causes crash
101 - try out PowerPolicyNotify(PPN_UNATTENDEDMODE, 1); during play
102 http://channel9.msdn.com/wiki/mobiledeveloper/powerpolicynotify/
103 * do file pos as percentage
104 progress bar
105 get rid of title bar on openfile box
106 * cg voices give click at buffer change
107 good enough on 2755 (rms and awb order 13/8K)
108 * get a 641K awb voice (and others)
109 720K actually with 13 params
110 * good enough for tilt (#define double float)
111 * multi-voice version
112 * made audio_streaming_info with min_buffsize
113 file position over app restarts
114 icons rather than text on buttons
115 play/stop as one button
116 make it not look like a crude app
117 cut and paste from other apps
118 more control in play menu
119 display pronunciation/text expansion etc
120 word highlighting at play time
121 a talking head example
122 keyboard accelators
123 ok should background it not stop it
124
125 0.5
126 - forward/back utterance
127 forward/back paragraph/chapter/file
128 quick back skips causes crash
129 - try out PowerPolicyNotify(PPN_UNATTENDEDMODE, 1); during play
130 http://channel9.msdn.com/wiki/mobiledeveloper/powerpolicynotify/
131 * do file pos as percentage
132 cg voices give click at buffer change
133 good enough on 2755 (rms and awb order 13/8K)
134 * get a 641K awb voice (and others)
135 720K actually with 13 params
136 * multi-voice version
137 * made audio_streaming_info with min_buffsize
138 13th January
139
140 hp2 9:54 awb 8k 2755 (black clip) 98%
141 backlight off after 2 minutes
142 10:30 fp 29500 79%
143 12:02 fp 104204 36% (looks like nearly 3hrs on one charge)
144 12:43 fp 136282 16%
145
146 0.4
147 using threads so that stop works
148 can't share alloced memory over threads
149 add streaming synthesis
150 stop works
151 need to select position in file
152 nees to save position in file for continuation
153 pause and continue
154 stop it from going to sleep (but do screen blank)
155
156 8K awb 1139896
157 16K awb 2227760
158 could be 641K if order 18 and get rid of std in statics
159
160 Put back in the Play_thread. With a large buffer size, it sort of
161 works (spool vs streaming)
162
163 Tested under
164 Ipaq 3635 WinCE 3.0
165 Phraselator 2 Windows CE 4.20 (HPC?)
166 gives an error at exit time (maybe the others do too ..)
167 HP hx2755 PocketPC 2003
168 AT&T Tilt PocketPC 6.0
169
170 4th Jan 2009
171
172 0.3
173 TTS from a .txt file
174 display tokens in window as we go
175 redo the menus and forms layout
176 Still very basic though.
177 stop doesn't work bacause things don't get back to the event loop.
178 2nd Jan 2009
179
180 0.2
181 have windows, a dialog box with a play and editable text box
182 spent ages working out how to program in WinCE but seems to work now
183 1st Jan 2009
184
185 0.1
186 play_wave(w) does the right thing
187 au_wince.c seems to work
188 moved to mingw32ce version
189 added a .rc resource file and tidied up configure.in
190
191 moved to cst_file_wince.c rather than cst_file_cegcc.c (deleted)
192 fixed bugs in cst_file_wince.c
193
194 type in box and audio out
195
196 want flite.dll cmu_us_kal_diphone.dll usenglish.dll maybe
197 have them loaded (so voice isn't in flowm)
198
199 Need examples/tutorial on building an app with inputs, defaults, options
200 file loading display etc.
201
202 streaming synthesis? (and call back)
203
204 0.0
205 compiled flite with message box displaying number of bytes in
206 synthesized waveform. Synthesis seems to work, WCHARs support is
207 necessary
208 cst_wchar.[ch]
209 6th June 2008
210
211 -------------------------
212
213 Making dlls (using dlls)
214
215 http://craigshaw.com/ (for ffmpeg)
216
217 Example code
218 http://www.codeproject.com/KB/mobile/
219
220 dll building
221 http://www.ibm.com/developerworks/aix/library/au-porting/index.html
222
223 Books
224
225 Programming Microsoft Windows CE, Second Edition (Pro-Developer) (Paperback)
226 Online sample chapters
227 http://www.microsoft.com/mspress/books/sampchap/5461b.aspx
228
229 code samples (for eVC++)
230 http://msdn.microsoft.com/en-us/library/bb158662.aspx
231
232 Simple, but larger CE example in C++
233 http://www.codeproject.com/KB/mobile/ce_cards.aspx
234
235 join codeproject
236 awbcmu
237 publicpass
238
239 But found good examples that are (mostly) compilable in
240 Programming Microsoft Windows CE (Doug Boling)
241 Bought second hand on Amazon for $11
242 It has online examples, and a version of the book all in CHM format
243
244 Its actually all online
245 http://iptvforum.cn/wince/wince-programming-ms-press2/source/prowice/ch04d.htm
246
247
248 Keeping app running while in sleep model
249
250 PowerPolicyNotify(PPN_UNATTENDEDMODE, 1);
251 SystemIdleTimerReset(); // call this periodically
252 SetSystemPowerState(null, POWER_STATE_ON, POWER_FORCE);
253
254 http://forum.xda-developers.com/showthread.php?t=379366