Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Speech

General discussion for players of Oolite.

Moderators: winston, another_commander

djsnm
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Sat Jun 19, 2004 4:43 pm
Location: San Francisco
Contact:

Speech

Post by djsnm »

OSX has some great support for speech synthesis - this might be an easy future feature to add vocalisation of all the inflight messages.
Something to Consider if debugging is boring the devlopers....
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

say -v Victoria "Yehuh, I'll maybe turn that on."

But I'm I'm not bored yet! :lol:

EDIT: Okay, I got bored and added it.

It has to do a few translations (Cr into credits s. into seconds, that sort of thing) but works reasonably well and certainly makes stepping away from the keyboard during long fly-ins easier. It uses by default the voice you choose in System Preferences.

Question:

Should this be a game option ('Speech Synthesis ON/OFF') or an extra piece of equipment ('Speech Synthesiser 250 credits'). I presume most people will want it turned OFF by default.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
NoSleep
Commander
Commander
Posts: 53
Joined: Fri May 21, 2004 2:49 am

Post by NoSleep »

Definitely need the on/off choice
Possibly wants to be a purchase. Depends whether it adds a dimension to the gameplay. If it doesn't, why would you spend hard earned space credits on it? If it does, how much is it worth?
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Spoken Text ON/OFF now in the options screen.

Surprisingly that took about twice as much code as getting the spoken messages working in the first place, about 20 lines of code in all.

Gotta love Apple's APIs! :D
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
djsnm
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Sat Jun 19, 2004 4:43 pm
Location: San Francisco
Contact:

Wow!

Post by djsnm »

Excellent work! It's nice to see elite developers interested in what the fans have to say, for a change (yes this means you mr braben).

Thanks a million.
User avatar
CWolf
---- E L I T E ----
---- E L I T E ----
Posts: 317
Joined: Mon Jul 03, 2006 12:33 pm
Location: Currently floating round Eninre

Post by CWolf »

OK, me again dragging up OLD threads, please bear with me!

In the PC version of Oolite there is no On/Off option, or indeed and synth speech!

Was it removed or just never there in the PC version? OXP anyone?
The act of talking b*ll*cks whilst waving one's arms about wildly is referred to as testiculation.

Image
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

There's no speech synthesis in the PC or Linux versions. I've looked into it, and there seem to be no easy to incorporate text-to-speech libs we can easily use.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
CWolf
---- E L I T E ----
---- E L I T E ----
Posts: 317
Joined: Mon Jul 03, 2006 12:33 pm
Location: Currently floating round Eninre

Post by CWolf »

Hmmm, annoying.

I do remember seeing a possible one we could use a while back, I will hunt it down and let you know.
The act of talking b*ll*cks whilst waving one's arms about wildly is referred to as testiculation.

Image
Dutch
Harmless
Harmless
Posts: 1
Joined: Wed Sep 27, 2006 11:33 pm

Post by Dutch »

aegidian wrote:
There's no speech synthesis in the PC or Linux versions. I've looked into it, and there seem to be no easy to incorporate text-to-speech libs we can easily use.
For the Linux version, what about flite ? (Flite = Festival runtime). Of course, one could probably use Festival but that would be overkill IMHO.
Documentation : http://www.speech.cs.cmu.edu/flite/doc/index.html

For WindowsXP there is the included MS Speech available, which can be used to synthesize speech. Dev API description and tools downloadable free of charge from Microsoft.

Dutch
Reborn Elite pilot - wasted my youth on Zx Spectrum, Amstrad 6128 versions. Wasting my middleage on Oolite.
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2868
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Milinks's custom sounds.oxp gives speach for the PC.

I don't think the speach is native on the PC, but Milinks OXP is pretty cool (in part uses the female computer voice from Star Treck Voyger).
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

Although wonderfull, that OXP needs some work.

Specifically
the long samples that continue running after a cancelation. (hyperspace)
and the fuelscoop. (containercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainercontainer)

which could be a nice soundbite if it sounded only if a container is succesfully scooped, but currently it loops when tractor-ing and also when scooping fuel from a sun.
Is it not possible to link these soundsamples to the yellow console messages?
Riding the Rocket!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Arexack, the problems you mention are known limitations of the sound customisation mechanism, i.e. nothing that can easily be fixed on the OXP.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

I know it had been mentioned before. Just couldnt resist. :P

The 'container' sample could be easilly replaced by a 'whoo-whoo' sound. IMO
Riding the Rocket!
User avatar
_ds_
Deadly
Deadly
Posts: 180
Joined: Thu Jan 22, 2009 5:34 pm
Location: In a cloaked ship behind you

Speech on Linux

Post by _ds_ »

Digging up an old thread…

I've thrown together a quick patch which adds speech when running on (at least) Linux. It currently only works with English text: I fully expect that it will mispronounce translations.

The phonemes which espeak uses differ somewhat from what Apple's speech synth uses, so I've added support for files named "espeak_pronunciation_guide.plist".

To make use of the patch, you'll need libespeak and you'll need to append "libespeak=yes" to the make command; on Debian(-like) systems, install libespeak-dev then build and install the Oolite .debs as normal.

espeak's licensing is GPL v3 or later.

Download link.
http://tartarus.org/~ds/oolite/patches, Buzzer OXP etc.
User avatar
KZ9999
Deadly
Deadly
Posts: 225
Joined: Fri Jan 23, 2009 8:55 pm
Location: Lost in Witchspace being hunted by a Thargoid Swam.

If my aged organic memorybanks are correct

Post by KZ9999 »

Speech support is standard with all versions of Vista (and windows 7).

If I remember the MSD article correctly it's uses the bell labs phonic system as standard and can be accessed directly in the os layer with out the need of a additional library. I think for XP systems there is a free library that can be installed that uses the same commands.
KZ999's Oolite documents, including the new draft Oolite Game Manual, can be found at www.box.net
Post Reply