Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Adding voices when opening applications?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
Pron
Grandmaster Cheater
Reputation: 0

Joined: 31 May 2008
Posts: 711

PostPosted: Mon Sep 22, 2008 1:38 pm    Post subject: Adding voices when opening applications? Reply with quote

I was wondering if you could make it so when you open something (MSN for example) you could have a text to voice thing say something (You clicked on MSN for example). Would you be able to start both in a .bat? And then how would you make it write what you want in the text to speech thing?
(I'm not good with this whole computer thing :3)
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Mon Sep 22, 2008 1:44 pm    Post subject: Reply with quote

Go to start>Settings>Control Panel>Sound and Audio Devices>Sounds and click open program and choose any .wav file.
I know you want it to be different for every program but that's the best I know of.
Back to top
View user's profile Send private message
kls85
I post too much
Reputation: 22

Joined: 18 Jul 2008
Posts: 2757
Location: Under ur bed

PostPosted: Mon Sep 22, 2008 2:53 pm    Post subject: Reply with quote

Do you have Vista, If yes then you can use the its built voice recognition.
Just enable it, read their practice paragraph and then start talking away.

_________________


Last edited by kls85 on Mon Sep 22, 2008 2:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Mon Sep 22, 2008 2:55 pm    Post subject: Reply with quote

kls85 wrote:
Do you have Vista, If yes then you can use the its built voice recognition.
Just enable it, read their paragraph and then start talking away.

He's talking about something completely different.
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Mon Sep 22, 2008 4:45 pm    Post subject: Reply with quote

It would probably be pretty easy to make a program that would take in a path to a wav file and process and just play the wav and CreateProcess the process. Then all you would have to od is get a recording for each thing and change all the shortcuts to go to your program instead of directly to the real program.
_________________
Back to top
View user's profile Send private message
Pron
Grandmaster Cheater
Reputation: 0

Joined: 31 May 2008
Posts: 711

PostPosted: Mon Sep 22, 2008 6:06 pm    Post subject: Reply with quote

HalfPrime wrote:
It would probably be pretty easy to make a program that would take in a path to a wav file and process and just play the wav and CreateProcess the process. Then all you would have to od is get a recording for each thing and change all the shortcuts to go to your program instead of directly to the real program.

Yes! That's what I was thinking of, so it would work?
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Mon Sep 22, 2008 10:16 pm    Post subject: Reply with quote

It would work if you went through the hassle of programming all the directories for each shortcut and the program it runs and the wav etc.
I mean you're probably talking like 50 programs or something, that's 150 directories to list in 3 places, roughly 500 lines of code not including the UI, and I'm guessing it would take a total of 28 hours spread over 2 and a half weeks with personal interference and birthday parties and probably school etc.
So basically it's a bad idea.
etc.
Back to top
View user's profile Send private message
Pron
Grandmaster Cheater
Reputation: 0

Joined: 31 May 2008
Posts: 711

PostPosted: Mon Sep 22, 2008 10:32 pm    Post subject: Reply with quote

Cryoma wrote:
It would work if you went through the hassle of programming all the directories for each shortcut and the program it runs and the wav etc.
I mean you're probably talking like 50 programs or something, that's 150 directories to list in 3 places, roughly 500 lines of code not including the UI, and I'm guessing it would take a total of 28 hours spread over 2 and a half weeks with personal interference and birthday parties and probably school etc.
So basically it's a bad idea.
etc.

I was thinking more along the lines of just a few key apps.
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Mon Sep 22, 2008 11:39 pm    Post subject: Reply with quote

Well then spend an hour and go for it.
Heck, most people install programs to C:\Program Files\ so you could release is as public for those that use the same programs.
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Tue Sep 23, 2008 9:43 am    Post subject: Reply with quote

I'm talking about something like this:
Untested:
Code:
#include <windows.h>
#include <tchar.h>
#pragma comment(lib, "Kernel32.lib")
#pragma comment(lib, "Winmm.lib")

int _tmain(int argc, _TCHAR* argv[])
{
   PlaySound(argv[1], NULL, SND_FILENAME|SND_ASYNC);
    STARTUPINFO si;
    PROCESS_INFORMATION pi;

    ZeroMemory( &si, sizeof(si) );
    si.cb = sizeof(si);
    ZeroMemory( &pi, sizeof(pi) );
   CreateProcess(argv[0], NULL, NULL, NULL, false, 0, NULL, NULL, &si, &pi);
   return 0;
}


And you'd just replace the shortcut to the real pogram with a shortcut to this program with the path to the real exe and the wav.
"c:\theprogram.exe c:\program files\blah\blah.exe c:\wavs\blah.wav"

_________________
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Sep 23, 2008 9:49 am    Post subject: Reply with quote

I see london, I see france, I see errors in your code's green pants.

Code:
#include <windows.h>
#include <tchar.h>
#pragma comment(lib, "Kernel32.lib")
#pragma comment(lib, "Winmm.lib")
#pragma comment(lib, "lang_en.lib")

int _tmain(int argc, _TCHAR* argv[])
{
   PlaySound(argv[1], NULL, SND_FILENAME|SND_ASYNC);
    STARTUPINFO si;
    PROCESS_INFORMATION pi;

    ZeroMemory( &si, sizeof(si(-6)) );
    si.cb = sizeof(si(-6));
    ZeroMemory( &pi, sizeof(pi(6)) );
   CreateProcess(argv[0], NULL, NULL, NULL, false, 0, NULL, NULL, &si, &pi(0(0)));
   return -0;
}
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Tue Sep 23, 2008 10:19 am    Post subject: Reply with quote

God, I really hope you're joking.
Like I said, it's untested and may not even compile...but you don't seem to know how to program. ie why are you multiplying si by -6?

_________________
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Sep 23, 2008 12:36 pm    Post subject: Reply with quote

It will reload your weapons faster.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites