Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

HyperSpeech: Text-to-speech addon for HyperSpin 1.x 0.9


BoOgieman

Recommended Posts

Posted

Hi, I have a problem, ihave installed HyperSpeech correctly afaik and it doesn't seem to work. When I luach hyperspin I get no voice on any menu, anywhere. However after exiting Hyperspin a few secs later I get a voice telling me "connection to Hyperspin has been lost, shutting down Hyperspeech" so I know my tts is working and hyperspeech seems to be doing something.

Anyone got any ideas?

qDr2mZ.png

  • 2 weeks later...
  • Replies 536
  • Created
  • Last Reply
Posted

Hi, can anyone recommend a voice morpher for an out voice? looking to make Steve USA slightly robotic :)

Thanks

  • 2 weeks later...
Posted
Hi, can anyone recommend a voice morpher for an out voice? looking to make Steve USA slightly robotic :)

Thanks

Hey Gurusi, I use V.o.x.m.o.r.p.h Pro v 4.3.13 atm...

It's the one I used for the robotic voice in my video.

It works great, although sometime's there's some kind of bug that makes a klick sound.

The latest version probably has this fixed...

Posted
Hi, I have a problem, ihave installed HyperSpeech correctly afaik and it doesn't seem to work. When I luach hyperspin I get no voice on any menu, anywhere. However after exiting Hyperspin a few secs later I get a voice telling me "connection to Hyperspin has been lost, shutting down Hyperspeech" so I know my tts is working and hyperspeech seems to be doing something.

Anyone got any ideas?

Hey dude,

Curious, are you still having this problem?

lemme know...

  • 4 months later...
Posted

When I first opened handle.exe I had to agree, etc. If I try to open in a dos box I get

"Handle v3.51

copyright 1997 -2013 Mark...

Initialization error:

Make sure that you are the administrator."

I'm running MAMEUI64 on a new Gateway Quadcore(AMD Radeon Graphics) Windows 8.1 with Hyperspin as the frontend. I also have all the themes and videos synced to my MAME games via Hypersync. I've followed your instructions in the hyperspeech readme but no voice anywhere. I can only get the "connection with hyperspin lost, shutting down hypwerspeech" audio if I put the hyperspeech.exe in the hperspin HQ program startup box, then I get the audio message at shutdown. Without hyperspeech.exe in the startup I get nothing at shutdown.

Posted

I only have one account (Local) on the computer and it's set as Administrator.

Root directory C:\HyperSpin

Installed HyperSpeech (0.9) C:\HyperSpin\HyperSpeech

MAME installed C:\HyperSpin\Emulators\MAME

Roms installed C:\HyperSpin\Games

history.dat is in C:\HyperSpin\Emulators\MAME and the path is set in the hyperspeech.ini

If I click on HyperSpeech.exe or LEDBlinky.exe I get the "Lost connection..."audio but that's all.

I right clicked handle.exe and opened properties and set run as administrator. Now if I run handle.exe in a DOS box It opens a second DOS box window with super fast scrolling text then it disappears, The original Dos box returns to the directory C:\HyperSpin\HyperSpeech

Posted

Ok..Getting closer,

I found one major problem I caused. I renamed LEDBlinky wrong, I added .exe to the name! Duh! renamed it LEDBlinky and now I have voice on all MAME games. System Bio's and Main Wheel audio isn't working yet though.

All my system videos are .mp4 not .flv Is this part of the problem?? and they are located in Media/Frontend/Video

Posted
Ok..Getting closer,

I found one major problem I caused. I renamed LEDBlinky wrong, I added .exe to the name! Duh! renamed it LEDBlinky and now I have voice on all MAME games. System Bio's and Main Wheel audio isn't working yet though.

All my system videos are .mp4 not .flv Is this part of the problem?? and they are located in Media/Frontend/Video

No it is not the mp4 or flv format that's causing the issue, the path of your main menu video's is probably the culprit.

HyperSpeech needs to have the main menu video's in the default path "\Media\Main Menu\Video", because it searches for a file handle with the string "\\Media\\Main Menu\\Video\\" in it.

When it finds something it then parses the video filename and hold it against the system database for a match...

Move your videos over the the mentioned default location, change necessary paths in your Hypespin configs and try again.

Let me know what happens, good luck.

Posted

Moved the videos to Media\Main Menu\Video and now the Game Bio's work when pressing F3. Still no speech on the system wheels though. Is there a certain config file I need to check the path on?

Posted

Are all your wheels correctly named and have videos? Are your system wheel videos in an alternative path? Try a single one in a small system wheel like say AAE.

Posted

The next step is to check if the handle command used by HSpeech is returning a string when HS is running.

I am at work at the moment, and I will post a new reply tonight with further suggestions.

Can you check if Windows 8 has the CLIP command in DOS, for piping cmd output to the clipboard? I know win 7 has it... Not sure bout 8....

E.g: dir | clip or dir > clip

Sent from my Galaxy Note with TapaTalk

Posted
Moved the videos to Media\Main Menu\Video and now the Game Bio's work when pressing F3. Still no speech on the system wheels though. Is there a certain config file I need to check the path on?

Below you'll find the code I use to parse your Main Menu.xml file (need to check if the path is correct, Databases should be in your Hyperspin Root folder.

Also there is the code which uses the handle.exe to check which main menu video is playing. it uses the Clip command on Win Vista & Win7, perhaps not on Win8.

You need to test that from a command line in your HyperSpeech folder, while Hyperspin is running in the main menu: handle.exe -p HyperSpin.exe | findstr /C:"\\Media\\Main Menu\\Video\\" | Clip

GetSystems(){ ; Parses the systems from the Main Menu XML file and create a comma seperated string

numSystems = 1

xmlSystems := checkFile( A_ScriptDir . "\..\Databases\Main Menu\Main Menu.xml" )

Loop, read, %xmlSystems%

{

pos := RegExMatch( A_LoopReadLine,"name=""(.*)""", SubPat )

if( pos > 1 )

{

If ( numSystems = 1 )

strHSSystems .= SubPat1

Else

strHSSystems .= "," . SubPat1

numSystems += 1

}

}

numSystems -= 1

Return

}

ParseActiveSystem(){ ; Figures out which video is being played in the main wheel to determine the selected system :-)

Clipboard =

If A_OSVersion = WIN_XP ; Check whether OS is WIN_XP or not

{

RunWait %comspec% /c %handleExec% -p HyperSpin.exe | findstr /C:"\\Media\\Main Menu\\Video\\" | %cbExec% ,,Hide ; Fill the Clipboard

}Else

{

RunWait %comspec% /c %handleExec% -p HyperSpin.exe | findstr /C:"\\Media\\Main Menu\\Video\\" | Clip ,,Hide ; Fill the Clipboard

}

Good luck, I'm gonna get a couple of hours sleep before my extra night shift after a hard days work.

I'll check back later on.

Cheers

Posted

Boogie, would it be possible to have Hyperspeech not speak a game bio when in the genre wheel?

What has always happened is say I'm on Contra under my MAME wheel. If I go into my genre wheel and look around HyperSpeech will start to speak the game info on Contra.

I don't know if this is a thing with HyperSpin thinking it's still on a game when in the genre sub wheel or what but I wanted to bring this up as this thread has been active again recently.

I am......Machine

Posted

I've just installed this can I just check something....

When hyperspin loads and the main menu wheel is up should it speak every system name as I rotate the wheel? Eg Atari 2600 etc

If I select a system should it say I've selected that system?

Should system bio's be started automatically or should they be started manually?

I can't get the above to work but once a system is selected it reads out every game name and also before and after statements. I see other people have had issues but I don't see any answers yet.

Posted
Boogie, would it be possible to have Hyperspeech not speak a game bio when in the genre wheel?

What has always happened is say I'm on Contra under my MAME wheel. If I go into my genre wheel and look around HyperSpeech will start to speak the game info on Contra.

I don't know if this is a thing with HyperSpin thinking it's still on a game when in the genre sub wheel or what but I wanted to bring this up as this thread has been active again recently.

Hey Tranz,

You bring up an interesting issue here.

I do not know why this is happening and I need to dive in to the code again and create a genre subwheel first to test this with.

Haven't used genres for ages...

back to the drawing board, we'll speak soon

;-)

Posted
I've just installed this can I just check something....

When hyperspin loads and the main menu wheel is up should it speak every system name as I rotate the wheel? Eg Atari 2600 etc

yes it should speak both system names and game names

If I select a system should it say I've selected that system?

yes it should speak something like that

Should system bio's be started automatically or should they be started manually?

You can set this in the HyperSpeech ini file.

AutoBioDelay=30000

SystemBioEnabled=true

MAMEBioEnabled=true

I can't get the above to work but once a system is selected it reads out every game name and also before and after statements. I see other people have had issues but I don't see any answers yet.

The critical part is that the application relies on using external commands (handle.exe and CLIP/cb.exe) and the Hyperspin file and folder structure must match the paths used in the code, which are the default paths.

I admit and regret that people still get these issues and there should at least be a better deployment instruction and a good prerequisition checklist.

So as this issue has been talked about more often in this thread, perhaps the solution is already around here...

Posted

If HyperSpin open and then open the cmd.exe as administrator and type this handle.exe-p HyperSpin.exe | findstr / C: "\ \ Media \ \ Main Menu \ \ Video \ \"> Clip will copy the line to Clip.txt the file the problem is to always open cmd as board administrator. Tested on Win 7 and Win 8.

49733.png
Posted
yes it should speak both system names and game names

yes it should speak something like that

You can set this in the HyperSpeech ini file.

AutoBioDelay=30000

SystemBioEnabled=true

MAMEBioEnabled=true

The critical part is that the application relies on using external commands (handle.exe and CLIP/cb.exe) and the Hyperspin file and folder structure must match the paths used in the code, which are the default paths.

I admit and regret that people still get these issues and there should at least be a better deployment instruction and a good prerequisition checklist.

So as this issue has been talked about more often in this thread, perhaps the solution is already around here...

My install is on J:\Hyperspin\

I believe everything is set at default.

Where should I be checking for pathways?

When I press F4 it repeats the description but pressing f3 for bio on any wheel doesn't do anything.

Posted
If HyperSpin open and then open the cmd.exe as administrator and type this handle.exe-p HyperSpin.exe | findstr / C: "\ \ Media \ \ Main Menu \ \ Video \ \"> Clip will copy the line to Clip.txt the file the problem is to always open cmd as board administrator. Tested on Win 7 and Win 8.

I've tried to change the properties of cmd.exe and it won't allow setting this to administrator privileges. I am the administrator account on win 7.

It appears that the only parts not working are speaking the names of systems on main wheel and bios. If I select a system it will say that system and game selected on wheel.

Posted

Just a thought but I've been using relative paths when setting up HyperHQ and no videos in paths here as they are in default places so is unnecessary. I'm going to change a couple to fixed paths and put the video path in...see what occurs

Posted

Well that didn't work - can I ask what paths are being sort when it should speak the system wheel name or bio because afaik I have them set to

J:\HyperSpin\Media\Main Menu\Video

Posted
If HyperSpin open and then open the cmd.exe as administrator and type this handle.exe-p HyperSpin.exe | findstr / C: "\ \ Media \ \ Main Menu \ \ Video \ \"> Clip will copy the line to Clip.txt the file the problem is to always open cmd as board administrator. Tested on Win 7 and Win 8.

Hi Albert,

Thanks for thinking along.

The command below is the correct command, which parses the command output to the clipboard through the piping function.

handle.exe -p HyperSpin.exe | findstr "\\Media\\Main Menu\\Video\\" | Clip

When using > will created a file called clip and this is not what we do.

And if running cmd as an administrator is an issue, turn off UAC in Windows.

When I run the command below in a DOS box, it returns a string with the main menu video.

F:\Hyperspin\HyperSpeech>handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\"

6BC: File (R--) F:\Hyperspin\Media\Main Menu\Video\MAME.mp4

when used with | CLIP it will copy the output to the clipboard, HyperSpeech read the clipboard in his turn in the code.

(you will notice that while Hyperspin is running with Hyperspeech, you cannot copy paste as usual.)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...