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

  • Replies 536
  • Created
  • Last Reply
Posted

....still the same....but thanx for the Black Predator FTP edition btw ;)

Wish I could help with programming or debugging this problem. Normally I solve all problems related to HyperSpin and HyperPin,

but this is something different because you programmed it yourself. But I would like to know where the program is searching for the SYSTEM names and

if it does matter if I renamed some of the SYSTEMS ? Is it possible to OPEN your HyperSpeech.exe ?

edit: now HyperSpeech also doesn't say [HSStart] ...... but after (the quiet intro) the same as before

also did tests on 2 pc's (my normal pc with Windows 8 and my arcade bartop with Windows 7...both x64)

Posted
Hey Sparky,

I did a little research and it might work on SAPI 5.1 that Windows XP has.

If you would like to volunteer to test it, we could t give it a spin.

You will need an external clipboard parser tool (cb.exe) with HyperSpeech in order to make it work, I can update the software so it uses this for XP users.

At the moment I am also debugging part of the code because some people have problems hearing the system names and bio's.

I really need to get this sorted out...

If you're interested let me know and I can make an XP test build.

Cheers,

Boogieman

Yeah, let's do it. What do I need to do on my end?

[sIGPIC][/sIGPIC]

Posted
....still the same....but thanx for the Black Predator FTP edition btw ;)

Wish I could help with programming or debugging this problem. Normally I solve all problems related to HyperSpin and HyperPin,

but this is something different because you programmed it yourself. But I would like to know where the program is searching for the SYSTEM names and

if it does matter if I renamed some of the SYSTEMS ? Is it possible to OPEN your HyperSpeech.exe ?

edit: now HyperSpeech also doesn't say [HSStart] ...... but after (the quiet intro) the same as before

also did tests on 2 pc's (my normal pc with Windows 8 and my arcade bartop with Windows 7...both x64)

One of the issues you encounter is the fact that Ledblinky events are being send by Hyperspin in a really fast sequence.

(You should avoid having running HyperSpeech and the video's from a slow disk)

Hyperspin starts LEDBlinky (LB), which will trigger the start of HyperSpeech if not allready running.

Then Hyperspin sends event 1 (HSStart) to LB, which sends a postmessage to HyperSpeech to speak out the start sequence.

Here's where you'll encounter an issue when HyperSpeech is not fully initialized/started up already.

The initializing text is not spoken then. I've removed the workaround for this in the code to revert back to a more pure logic.

This problem should not occur if your system is really fast or when you run HyperSpeech.exe before HyperSpin.exe.

OK, shortly after this HS send event 8 to LB, who will send out a postmessage to HyperSpeech for event 8 (Main Menu select).

If the last event in HyperSpeech is 1 or "blank" (aka event 1 was never caught by HyperSpeech), then the HSMainSelect speech is triggered.

Then for as long as you stay in the Main Menu, it will continue scan for active Main Menu videos with a set interval.

When this not the case I found that LEDBlinky was still hanging for whatever reason, the suspected cause of this is probably previous failing of sending event 1.

This something that is still puzzling me.

HyperSpeech checks your systems in your Main Menu.xml file.

It starts a function to check and parse the path: xmlSystems := checkFile( A_ScriptDir . "\..\Databases\Main Menu\Main Menu.xml" )

If it cannot be found, you should get an error message for that. Make sure that your Main Menu.xml is a valid XML

And all your systems are then put into an array which is parsed and matched when a video file handle is found.

I build HyperSpeech with the default folder setup and paths and settings in mind, that is:

x:\HyperSpin

x:\HyperSpin\HyperSpeech

x:\HyperSpin\Media

x:\HyperSpin\Databases

x:\HyperSpin\Modules

x:\HyperSpin\Games

So the System videos need to be in x:\HyperSpin\Media\Main Menu\Video ...

Personally I am very strict in maintaining the file and folder naming of HyperSpin.

I do not know if renaming of systems would impact anything, but at least the system names in Main Menu.xml should match the system videos...

Let me know what happens if you start HyperSpeech before HyperSpin.

If that fails, we perhaps could start a remote session to have a look.

Posted

I thought my Arcade Bartop was no so slow with a quad core cpu Q9550.

(but my "normal" PC has the same problem...and there I have a Core i5 2500K CPU with 8GB and SSD)

I've installed a program Startup Delayer so I can setup which programs to have a delayed startup.

My Hyperspin.exe must have a delay of 3 seconds when starting up or else sometimes my buttons of my Ipac wont work.

I put HyperSpeech.exe in the same list but with a delay of 2 seconds so it starts up 1 second before Hyperspin.exe

The result is still the same...

It starts with [HSMainSelect]....when choosing for example Super Nintendo it does say [HSSystemSelect],

in the Super Nintendo wheel it speaks the ROMS and when going back to the main wheel it say [HSMainReturn]

If you wait some time in the wheel it also say [HSAttractStart] and [HSAttractEnd]

But still no SYSTEM names in the Main Wheel.....ahhhhh.....

Posted
I thought my Arcade Bartop was no so slow with a quad core cpu Q9550.

(but my "normal" PC has the same problem...and there I have a Core i5 2500K CPU with 8GB and SSD)

I've installed a program Startup Delayer so I can setup which programs to have a delayed startup.

My Hyperspin.exe must have a delay of 3 seconds when starting up or else sometimes my buttons of my Ipac wont work.

I put HyperSpeech.exe in the same list but with a delay of 2 seconds so it starts up 1 second before Hyperspin.exe

The result is still the same...

It starts with [HSMainSelect]....when choosing for example Super Nintendo it does say [HSSystemSelect],

in the Super Nintendo wheel it speaks the ROMS and when going back to the main wheel it say [HSMainReturn]

If you wait some time in the wheel it also say [HSAttractStart] and [HSAttractEnd]

But still no SYSTEM names in the Main Wheel.....ahhhhh.....

Ok, clear...

I want to know if clipboard is working.

Start HyperSpin and HyperSpeech, leave it running in main menu wheel

open up a notepad and keep ALT-V pressed to see if the handle.exe output in the clipboard is pasted, similar like this:

7B8: File (R--) F:\Hyperspin\Media\Main Menu\Video\Nintendo Game Boy Advance.mp4

Please note that clipboard is cleared also frequently so it can take a small amount of time to paste something...

Posted

Don't know if I'm doing it right, but when Hyperspin and Hyperspeech are running and I open

a notepad (on top of Hyperspin) Hyperspeech is kind of pausing....

When I press ALT-V nothing happens...if I put Hyperspin on top of the notepad and ALT-V again nothing happens....

Is ALT-V a function on it's own ? Not like CTRL-C and CTRL-V ?

Posted
Don't know if I'm doing it right, but when Hyperspin and Hyperspeech are running and I open

a notepad (on top of Hyperspin) Hyperspeech is kind of pausing....

When I press ALT-V nothing happens...if I put Hyperspin on top of the notepad and ALT-V again nothing happens....

Is ALT-V a function on it's own ? Not like CTRL-C and CTRL-V ?

-FACEPALM- :stupid:

Duh, offcourse CTRL-V

Yes HS is pausing but HyperSpeech wil keep running in the background, and it should send output from handle.exe to CLIP

Posted

Nope....nothing...I tried different things....CTRL-V when in the Main Menu Wheel and

notepad on top...first keeping CTRL-V pressed and when nothing happens trying hit CTRL-V a few times after each other.

Then also tried it when being in a SYSTEM wheel and then the same ritual as written before.

Posted
Nope....nothing...I tried different things....CTRL-V when in the Main Menu Wheel and

notepad on top...first keeping CTRL-V pressed and when nothing happens trying hit CTRL-V a few times after each other.

Then also tried it when being in a SYSTEM wheel and then the same ritual as written before.

Start HyperSpin when in main menu with systems and a running system video, kill process HyperSpeech.exe, open a dos box and go to the HyperSpeech folder.

Then type "handle.exe -p HyperSpin.exe | findstr -c:"\\Media\\Main Menu\\Video\\"| Clip"

open a Notepad and do paste.

You should get something like this: 7AC: File (R--) "F:\Hyperspin\Media\Main Menu\Video\Nintendo Game Boy Advance.mp4"

If not, than this is where is goes wrong

Posted
I've put the files and directory listings on the FTP in my folder. Hopefully you see the missing link...

And if you don't find it now we can have a Teamviewer session.

Blackie,

I suspect that the dot in the foldername is causing a function to parse the Main Menu.xml to stop working properly.

It stopped working on my setup when I renamed my Hyperspin folder to yours: "Hyperspin 1.0" and after I changed all paths in ini's that uses that.

So please try and rename the folder "D:\Spellen\MAME\Hyperspin 1.0" to "D:\Spellen\MAME\Hyperspin" and change all paths that need to match that.

Posted

is there anywaY I can install this on my win xp 32bit system would be interested in this

The Hyperspin Report writer/editor <br />resident grouch, Hyperspin facebook modorator<br />for those who want to read my work <br /><a href='http://thehyperspinreport.blogspot.co.uk' class='bbc_url' title='External link' rel='nofollow external'>http://thehyperspinreport.blogspot.co.uk</a>

  • 2 weeks later...
  • 2 months later...
Posted

I'm having the Main Menu/no system speech problem as well. Speech is working everywhere else, it just won't announce the system and bio.

Posted

There is no folder: "/Upload Here/Boogieman_nl/HyperSpeech v0.9" on the Hyperspin FTP server, could someone please upload it there again :)

Archived

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

×
×
  • Create New...