eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ttseng.idl 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*****************************************************************************
  2. * TtsEng.idl *
  3. *------------*
  4. * Description:
  5. * This idl file is for the sample SAPI5 Text To Speech Engine.
  6. *-----------------------------------------------------------------------------
  7. * Creation: 09/17/99
  8. * Copyright (c) Microsoft Corporation. All rights reserved.
  9. *****************************************************************************/
  10. //--- Import base idl
  11. import "oaidl.idl";
  12. import "ocidl.idl";
  13. import "sapiddk.idl";
  14. //=== Forward References ======================================================
  15. //=== Constants ===============================================================
  16. //=== Interface definitions ===================================================
  17. typedef struct VOICEITEM
  18. {
  19. LPCWSTR pText;
  20. ULONG ulTextLen;
  21. ULONG ulNumAudioBytes;
  22. BYTE* pAudio;
  23. } VOICEITEM;
  24. //=== CoClass definitions =====================================================
  25. [
  26. uuid(7192AA2F-F759-43e9-91E7-226371EF6B2F),
  27. version(1.0),
  28. helpstring("Simple TTS Engine 1.0 Type Library")
  29. ]
  30. library SAMPLETTSENGLib
  31. {
  32. importlib("stdole32.tlb");
  33. importlib("stdole2.tlb");
  34. [
  35. uuid(BE985C8D-BE32-4A22-AA93-55C16A6D1D91),
  36. // uuid(A832755E-9C2A-40b4-89B2-3A92EE705852),
  37. helpstring("SampleTTSEngine Class")
  38. ]
  39. coclass SampleTTSEngine
  40. {
  41. [default] interface ISpTTSEngine;
  42. interface ISpObjectWithToken;
  43. };
  44. };