flat assembler
Message board for the users of flat assembler.

Index > Windows > Speak using SpeechAPI built in Windows XP (1 kb console app)

Author
Thread Post new topic Reply to topic
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 11 May 2008, 13:21
So, here's the example of using SpeechAPI.
It should work in Windows XP, but you're welcome to try in other Windows OS if they have SpeechAPI.

See comments in the source for more info.

Enjoy =)

Update: added song.bat.


Description: Contents:
hello.bat, privet.bat, song.bat, speak.asm, speak.exe

Download
Filename: speak.zip
Filesize: 3.13 KB
Downloaded: 393 Time(s)



Last edited by Grom PE on 17 May 2008, 03:37; edited 1 time in total
Post 11 May 2008, 13:21
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1391
Location: Piraeus, Greece
Picnic 11 May 2008, 13:35
Works fine here win xp sp2, great little example Grom PE.
Can you show us how to use a female voice?
Post 11 May 2008, 13:35
View user's profile Send private message Visit poster's website Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 11 May 2008, 13:42
<voice required='Gender=Female'>This should work, if you have female voice installed, of course</voice>
=)
Post 11 May 2008, 13:42
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1391
Location: Piraeus, Greece
Picnic 11 May 2008, 14:16
What should i download Grom PE, SAPI 5.3 ?
Post 11 May 2008, 14:16
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4047
Location: vpcmpistri
bitRAKE 11 May 2008, 20:06
Very Happy

http://www.youtube.com/watch?v=RLJ3zcdPtl8

(It's a long way from sounding like the movie version, but kind of funny anyhow.)


Description: Shall we play a game?
Download
Filename: wargames.zip
Filesize: 350 Bytes
Downloaded: 295 Time(s)


_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 11 May 2008, 20:06
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 12 May 2008, 05:49
Smile

i like this tricky speech way, you may also check a song there Wink
Post 12 May 2008, 05:49
View user's profile Send private message Visit poster's website Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6115
Location: Poland
MHajduk 12 May 2008, 10:18
F-Secure Anti-Virus 7.30 build 13161 blocks execution of the program 'speak.exe'. Message (in shortening): "Attempt to add the new value to the protected registry key. Estimated risk: High (99/100)".

System Windows XP SP2.
Post 12 May 2008, 10:18
View user's profile Send private message Visit poster's website Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 12 May 2008, 23:28
MHajduk, this is problem with your system configuration or antivirus, not with my program, for sure.
Post 12 May 2008, 23:28
View user's profile Send private message Visit poster's website Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6115
Location: Poland
MHajduk 13 May 2008, 08:23
Grom PE wrote:
MHajduk, this is problem with your system configuration or anti-virus, not with my program, for sure.
Yes, I think so. But I wanted to show how the simple program written with FASM could be treated by the modern anti-viruses. Such causes become more and more frequent. Interesting, isn't it? Wink

Imagine that you want to sell your program written with FASM. You don't disclose your sources, of course. What some of your clients (users of F-Secure protection kit for example) would think about you and your programs if their anti-virus classified this application as a virus?

Your program is interesting, because it shows how to reach some advanced Windows features from the assembly code. Smile But you shouldn't ignore such reports saying: "it's your problem, not mine". Wink
Post 13 May 2008, 08:23
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 13 May 2008, 09:44
I think what anti-viruses do is mark small programs as suspicious. Viruses are usually small and if Grom PE's program will be commercial, it will definitely include more fat in the program and heuristics won't mistag it as virus.

(Only what I think) Smile
Post 13 May 2008, 09:44
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 13 May 2008, 09:47
Actually it is F-Secure's problem and the users of F-Secure may also get false reports from other programs. But if a developer is keen to make sure that their program is not mis-reported then they have recourse to virustotal.com for testing, but that will only be suitable for the detection on that particular day that it is tested. It is impossible to ensure that all through the future your code will never be tagged as bad. There is no real solution to this. You can always submit your code to the various companies that are mis-reporting it as bad, but it is no guarantee.

It is not nice to be playing guessing games with the virus engines. One day some piece of code is tagged as good and the next it is suddenly deemed as bad. But why it is seen as bad can sometimes be almost impossible to determine. You can change a little bit here or there and see what happens but it is hit-and-miss and just not a good permanent solution..
Post 13 May 2008, 09:47
View user's profile Send private message Visit poster's website Reply with quote
Alphonso



Joined: 16 Jan 2007
Posts: 295
Alphonso 13 May 2008, 17:06
Vid mentioned in an earlier thread about 'unstandard layout of PE sections' in FASM.

It would seem just adding the base of code in the PE header would stop the false positives regardless if the checksum was right or not with Avira.

Just makes me wonder if the person(s) who wrote/modified the TR/crypt.Xpacker.gen virus used FASM?

Maybe Avira uses the oddness of FASM PE header as a virus signature.

Anyways, speak.exe doesn't cause any problems with Avira. Just wished I had a Speech API to try it on W2k.
Post 13 May 2008, 17:06
View user's profile Send private message Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 17 May 2008, 03:41
Update: added song.bat.
Be sure to experiment editing it =)

Making the speech engine sing with different words is difficult, because it tries to change pitch of every word for expressiveness.
Post 17 May 2008, 03:41
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 24 May 2008, 20:48
Sorry, but I think antivirus guys are just extremely overworked or just lazy, because false positives have been increasing (and they all seem to have that problem, especially with tiny files). I understand wanting to be secure, but not allowing you to run your own programs (or, even worse, moving / deleting them because they are "evil") is very very annoying.

I don't think the antivirus guys will fix it until enough people complain (sadly).
Post 24 May 2008, 20:48
View user's profile Send private message Visit poster's website Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 25 May 2008, 05:34
Oh, please, be on topic.
There's already lot of discussions about antiviruses false positives.
Post 25 May 2008, 05:34
View user's profile Send private message Visit poster's website Reply with quote
iic2



Joined: 26 Jun 2008
Posts: 122
iic2 20 Aug 2008, 01:16
...
Unbelievable!!! and it works on all XP Pro sp 0,1,2 and 3
Quote:
asmhack worte:
and secondly why breaking your head with com technology and not with something easier for the moment ? if so go to
http://wasm.ru/publist.php?list=15 and read the articles.. (if you don't know russian language, use a translator)

and i'm still checking it out to be ready to do it once I get a better understanding, but Grom PE, this seem to be based on those articles. Please tell me it is. Shocked .. If so, what a wonderful example. I did wanted to try but I douth I would have figured it all out. I guest COM is like having a driver, in a way.

PS: My AntiVir been off for weeks. I just recently turned it back on and it DID NOT interfer with your file Grom PE what-so-ever, but it did with Yardman spVOICE and my Shortcut Creater before i got finished.

It get you here: invoke CoInitialize,NULL... It's all in where code is placed most of the time or what kind of setup is being use to start with. Anyway I get no move warning...


Great Work !!!
...
Post 20 Aug 2008, 01:16
View user's profile Send private message Reply with quote
Grom PE



Joined: 13 Mar 2008
Posts: 114
Location: i@grompe.org.ru
Grom PE 20 Aug 2008, 06:45
iic2 wrote:
this seem to be based on those articles. Please tell me it is

No, I wrote my example from scratch. Hence you see less straightforward COM usage =)
Post 20 Aug 2008, 06:45
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 20 Aug 2008, 10:31
Works on 2003 Server too, no additional installation/configuration needed.
Post 20 Aug 2008, 10:31
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.