Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Trivial Psychic on July 28, 2012, 10:34:35 am

Title: [Feature Inquiry]Force SynthVoice On & Wav File Overlap
Post by: Trivial Psychic on July 28, 2012, 10:34:35 am
This may be a useful feature for any mod that has voice acting... if its possible.  The primary advantage for this feature would be for any mod or campaign that has Vasudans in it.  It would firstly require the ability to turn SynthVoice on, regardless of whether its been activated in the launcher (though obviously, if the build being used doesn't have SynthVoice, then it would do nothing).  That's probably not all that difficult to code.  The big question mark is whether you can force the game to play both the indicated wav file AND the SynthVoice over one another.  Then all you need to do is select one of the untranslated Vasudan speech files (like those of varying length included in BR's STL campaign) of appropriate length based on the message length, and click on the "Force SynthVoice" checkbox (as I see it) and it would play them both at the same time, making a better-than-nothing simulation of Vasudan speech translation.

Is this doable?  Is this desirable?  Is it more trouble than its worth?
Title: Re: [Feature Inquiry]Force SynthVoice On & Wav File Overlap
Post by: MatthTheGeek on July 28, 2012, 10:54:15 am
What prevents you to just record M$ Sam or whatever (free or otherwise) text-to-speech yourself, and pack the wav files in your mod ? It would have the advantage of everyone hearing the same voices instead of hearing whatever TTS they have, if at all (IIRC TTS is only supported on Windows, is it not ?).
Title: Re: [Feature Inquiry]Force SynthVoice On & Wav File Overlap
Post by: Trivial Psychic on July 28, 2012, 12:13:25 pm
Is there a(n easy) way to dump MS-speech to an audio file?
Title: Re: [Feature Inquiry]Force SynthVoice On & Wav File Overlap
Post by: MatthTheGeek on July 28, 2012, 12:17:43 pm
I'd start by googling it.
Title: Re: [Feature Inquiry]Force SynthVoice On & Wav File Overlap
Post by: Cyborg17 on July 28, 2012, 01:04:39 pm
Audacity can record the speaker output as opposed to the Microphone input.  You could do it that way.