Speech
Moderators: winston, another_commander
Speech
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....
Something to Consider if debugging is boring the devlopers....
- aegidian
- Master and Commander
- Posts: 1161
- Joined: Thu May 20, 2004 10:46 pm
- Location: London UK
- Contact:
say -v Victoria "Yehuh, I'll maybe turn that on."
But I'm I'm not bored yet!
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.
But I'm I'm not bored yet!
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.
Wow!
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.
Thanks a million.
- CWolf
- ---- E L I T E ----
- Posts: 317
- Joined: Mon Jul 03, 2006 12:33 pm
- Location: Currently floating round Eninre
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?
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.
For the Linux version, what about flite ? (Flite = Festival runtime). Of course, one could probably use Festival but that would be overkill IMHO.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.
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.
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
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).
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.
- Arexack_Heretic
- 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:
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?
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!
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Arexack, the problems you mention are known limitations of the sound customisation mechanism, i.e. nothing that can easily be fixed on the OXP.
E-mail: [email protected]
- Arexack_Heretic
- 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:
Speech on Linux
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.
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.
- KZ9999
- 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
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.
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