|
Post by rosy on Apr 22, 2021 8:02:13 GMT -6
The synthesizer uses sounds in Polish. Basic sounds are written in capital letters, specific for the Polish language - in lower case. At the beginning, I added an example of how to write English words. Please run the program before reading it and write if you understand what it says. Attachments:SAM.7z (28.37 KB)
|
|
|
Post by johnno56 on Apr 22, 2021 14:47:45 GMT -6
Hi Rosy, First: My Polish is non existent... lol Second: The program ran without error on my Linux machine. There were some sound file issues but not bad enough to crash the program. "Could not load sound: Mix_LoadWAV_RW with NULL src". This message appeared 16 times. I reran the program and entered each letter (both lower and upper case) and found that 16 files did not play because they do not exist. QVXghijkmoprtuwy are the sounds missing. Apart from my inability to understand Polish, the program ran as coded. Text input worked as well... Initially I thought the problem was caused by Linux playing WAV files (I had that issue in the past) so I converted all the sound files to OGG. Obviously the issue was not playing WAV files... lol Just in case you need them, I will attach the OGG files, just in case... J ps: I think this is the first speech synth program for RCBasic.... Cool... oggfiles.zip (109.15 KB)
|
|
|
Post by rosy on Apr 22, 2021 16:43:49 GMT -6
This is a controlled error. Don't worry about it .. Error because the files do not exist. You can add more letters later ... Do you understand what he says at the beginning? But how is it that my uncompressed files are 28 Kb and your compressed files are 109 Kb?
|
|
|
Post by johnno56 on Apr 22, 2021 17:09:01 GMT -6
Some of the words I can understand. When you have grown up listening to speech patterns, listening to phonetic translation, is a little hard (for me anyway). But this is how text to speech starts out. I personally think that what you have done so far is impressive!
As to the size of the files... You used "7z" and I used "Zip". I have to conclude that the compression ratios are obviously different... also Ogg Vorbis files produce a higher quality sound, as such, produce a larger file...
Do you have any plans to incorporate text to speech into applications or games?
|
|
|
Post by rosy on Apr 23, 2021 6:47:41 GMT -6
This may have been overkill with the ogg compression parameters. Quality can't be better than original. I added Ping-Pong voice prompts, but made additional voices for more frequently repeated words to make them more understandable. I gave a link to the video in the description of the game ... I was thinking of using synthesis that is supposed to be built into Windows, but I don't know how and it wouldn't sound retro. Besides, I've wanted to do something like this since Atari ST.
|
|
|
Post by johnno56 on Apr 23, 2021 7:27:16 GMT -6
|
|