speech synth
BlitzMax Forums/BlitzMax Programming/speech synth
| ||
http://free.hostdepartment.com/c/chrisc/ enjoy! |
| ||
Nice! Reminds me of the Amiga 'Say' program. Can you control stuff like WPM, frequency, female/male voice? |
| ||
the voice is synth'd so its niether female or male I guess the WPM could be hacked... Frequency is also changable have a look through the C source its fairly easy to see whats happening you just need to write you own extended say function |
| ||
Doesn't seem to compile for me: Building speak Compiling:charset.c Build Error: failed to compile d:/test6/rsynth/charset.c |
| ||
I take it this is windows only then. "21: windows.h: No such file or directory" Mac OS 14.4.4 |
| ||
no d/load rsynth and hack in a sound driver tho I'm not sure theres one of mac @xlsior - gizza clue it must have said something more than that... |
| ||
Does anyone have an demo with an .exe? |
| ||
@ windows: Compiling:charset.c Build Error: failed to compile C:/Bmaxdev/speech/rsynth/charset.c |
| ||
@ xlsior and CS_TBL try installing mingw properly can you compile modules? see Marks instructions for mingw installation... |
| ||
Hi, Yes, I had the same error messages, but it worked perfectly after I installed MinGW. See post of Mark here: http://www.blitzmax.com/Community/posts.php?topic=53442 Here is the same example for people who do not have MaxGui: Import "rsynth\charset.c" Import "rsynth\darray.c" Import "rsynth\getarg.c" Import "rsynth\holmes.c" Import "rsynth\hplay.c" Import "rsynth\opsynth.c" Import "rsynth\phones.c" Import "rsynth\phtoelm.c" Import "rsynth\say.c" Import "rsynth\text.c" Import "rsynth\trie.c" Import "rsynth\elements.c" Import "rsynth\english.c" Extern Function say(s:Byte Ptr) EndExtern Local txt$ Repeat txt = Input("Enter your text: ") say(txt.toCstring()) Until KeyHit(KEY_ESCAPE) Very nice lib by the way!! |
| ||
thank the rsynth author not me! I just butchered (and I really do mean butchered) his code to get the bare minimum of it working! I may look at this again to replace the sythesis bit with wav files of allophones, it might improve the understandability of it in addition it will allow it to work on minority platforms like the mac ;p ( waits for flames ) Anyone think this is worth bothering with? |
| ||
If you can improve the quality of the sound/voice, sure it will be useful for the community!! And if you are able to do that cross-platform, you will have a hit!! |
| ||
That sound quality is about the best you're going to get with that method of speech generation. I wouldn't expect it to get any better. |
| ||
we'll see, i have acunning plan... |
| ||
Well unless your cunning plan involves ripping out the synthesis code and replacing it, it won't help. None the less, I'm interesting in seeing any improvements. |
| ||
I could not get it to compile with Ming or the lastest version of BMAX :( |
| ||
Give us some kinda clue as to what it said... what happens if you type gcc --version from the command line (not in mingw directory)? Can you compile modules? Its win32 only for the time being |
| ||
Very primitive but a good start. Keep going :D |