Jump to content
Tuts 4 You

Speech1k


hmi222

Recommended Posts

cool :clap3:

wait for the static lib (c / c++) thx

I'm wondering if it could change character to female.

Edited by alaphate
Link to comment

The description is under: http://msdn.microsof...e413476(v=vs.85)

The static lib is written in JWASM by using COM.

It's more for usage in ASM.

I think for C++ it's more easier to use the class of the ISVOICE directly.

The linking is done with crinkler.

If the lib is ready ill post it here.

Edited by hmi222
Link to comment

hmi222, thanks a lot!

c++ to change voice to female:


hr = SpFindBestToken(SPCAT_VOICES, L"Gender=Female", NULL, &cpToken);
if(SUCCEEDED(hr)) cpVoice->SetVoice(cpToken);
Edited by alaphate
Link to comment
Peter Ferrie

and yes, it's using the Windows Speech API. You use what's available on your platform. I don't see the problem.

  • Like 1
Link to comment

No Peter, you just don't get it.

In the demoscene, thats considered cheating. CHEATING. It would be like me requiring someone to install someone else's synth, just so they can hear voices in my demo so I can claim I used the speech as a "effect". In fact, this **** was done before and the coder responsible was put on notice for such behaviour.

You either code your own speech synth like Farbrausch did, or not at all. Using Windows Speech APIs is a hack/lazy and should not be used in any serious demo entry. And I don't see why you would want to, because the speech synth for Windows is tacky.

And yes, as silly as it sounds, there is unwritten laws like that in the demoscene. Such as people using GLU32.DLL/D3DX.DLL to make objects like spheres and the teapot as graphical objects in thier demo.

My opinion: Code your own objects/speech synths.

Edited by mudlord
Link to comment

Hi Mudlord.

As yu know from DBF-Forum i did a lot of 64k s and remakes where i never used the windows speech.

Noone told here, to use the windows speech in any demo/intro. That its not cool in the scene to use it is clear.

as yu know and mentioned Farbrausch implemented a speech synth in their libV2.

This was just a test to use COM with ASM and of course i think it could be used perhaps in a keygen.

Link to comment
Peter Ferrie

on the other hand, consider all those demos using DirectX...

Is that cheating? Why they don't all use OpenGL instead?

Or BAT/CAB or 1kpack or...

These are platform-specific. How are they different?

Link to comment

Ugh, now you REALLY don't get it.

Yes, using D3DX for models IS cheating.

Using glut to render a teapot IS cheating.

1kpack is NOT cheating.

Crinkler is NOT cheating.

kkrunchy is NOT cheating.

You completely forgot to read my reply, AT ALL. Thank you for wasting my time.

Basically, it all comes down to using APIs and methods that take ZERO effort at all for creative means. Using D3D ITSELF is NOT cheating as thats a rendering API. It is USELESS for art unless you know how to use it well. Same goes for GDI32, and OpenGL.

And using a Windows Speech API for your demo's speech synth is cheating because you can use instead of coding your *own* speech synth and claim you use it for aesthetic purposes. AND did that in Zoom3 and got rightfully hounded for it.

And yes, CAB dropping was fine, but times have changed.

There is now commonly agreed limits as to what APIs you can and can't use. Speech APIs are one of them. This also applies to using premade music like Windows startup and installer music in your prods, which is also illegal.

Don't shoot the messenger, thats how the demoscene is these days.

I'd advise coding a intro/demo before spouting such poo so you can actually get a clue. Actually visit a demoparty and enter into a democompo so then you know exactly how the scene works, so then you can make a informed judgement.

Thank you for playing, goodbye.

PS: I do call a spade a spade. I say poo like it is, if you don't like it, people can **** off, that applies to anyone.

Link to comment
Peter Ferrie

'so I can claim I used the speech as a "effect"'.

but that's not what happened.

'Using Windows Speech APIs is a hack/lazy and should not be used in any serious demo entry'

Yes, it's a hack, but it's the difference between possible or not. You can't make soft-speech in a 1kb.

BAT/CAB is a hack, but it allowed some demos to avoid the 4kb limit.

1kbpack is a hack because it uses undocumented APIs in a DirectX DLL to unpack, but it allowed some demos to avoid the 1kb limit.

Maybe Speech APIs allow the demo to *say* something interesting (as opposed to *being* something interesting), while still allowing room for real effects.

'And I don't see why you would want to, because the speech synth for Windows is tacky'

Yes, but that's completely unrelated to the discussion.

'AND did that in Zoom3 and got rightfully hounded for it'

Did you actually read all of the comments on pouet? The direct complaint was that he credited himself for it.

Other people merely expressed disappointment that it was used, but people had opinions on both sides.

And, of course, they're also talking about the font thing, which is allowed because... ?

Anyone can generate a font, but plenty of demos *don't*. They use it because it's there.

As one poster noted, 'There was similar controversy when people started to use 3d cards, and make demos that wouldn't run under dos'.

'There is now commonly agreed limits as to what APIs you can and can't use. Speech APIs are one of them'

If you'd started by saying that, then I wouldn't have needed to ask.

'I'd advise coding a intro/demo before spouting such poo so you can actually get a clue'

I'm not spouting anything. I just asked a question. Actually, three questions, but that's not the point.

You seem to be getting worked up trying to defend some arbitrary and temporary rules.

Link to comment

You seem to be getting worked up trying to defend some arbitrary and temporary rules.

Exactly. Because there is rules that should be respected. :)

Just like there is rules to how 0day game groups crack. (ie, inline patching is frowned upon)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...