Announcement

Collapse
No announcement yet.

DLL: Logox Sprachausgabe

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DLL: Logox Sprachausgabe

    Hallo,

    Ich versuche, in einer Java-Umgebung Sprachausgabe mit Logox Application SDK zu realisieren. Man sagte mir bei G DATA, das sei möglich, aber niemand schien genau zu wissen, wie das geht. Ich habe auf einer Datei namens Logox4E.DLL folgende Funktionen:

    ULONG LogoxDLLVersion()

    BOOL LogoxInitialize()

    BOOL LogoxIsInitialized()

    BOOL LogoxLicenseA( LPCSTR szLicense )

    BOOL LogoxLicenseW( PCWSTR szLicense )

    VOID LogoxRelease()

    BOOL LogoxSpeakA( LPCSTR szText, ULONG nActionID )

    BOOL LogoxSpeakW( PCWSTR szText, ULONG nActionID )

    BOOL LogoxRecordA( LPCSTR szFile, LPCSTR szText, ULONG nActionID )

    BOOL LogoxRecordW( PCWSTR szFile, PCWSTR szText, ULONG nActionID )

    BOOL LogoxIsBusy()

    BOOL LogoxStop()

    BOOL LogoxPause()

    BOOL LogoxIsPaused()

    BOOL LogoxResume()

    ULONG LogoxGetNumberOfFonts()

    ULONG LogoxFindFontAliasA( LPCSTR szAlias )

    ULONG LogoxFindFontAliasW( PCWSTR szAlias )

    BOOL LogoxSetFont( ULONG nFont )

    ULONG LogoxGetFont()

    BOOL LogoxSetVolume( LONG nVolume )

    LONG LogoxGetVolume()

    BOOL LogoxSetPitch( LONG nPitch )

    LONG LogoxGetPitch()

    BOOL LogoxSetSpeed( ULONG nSpeed )

    ULONG LogoxGetSpeed()

    BOOL LogoxSetIntonation( ULONG nIntonation )

    ULONG LogoxGetIntonation()

    BOOL LogoxSetRoughness( ULONG nRoughness )

    ULONG LogoxGetRoughness()

    BOOL LogoxSetAudioFormat( ULONG nAudioFormat )

    ULONG LogoxGetAudioFormat()

    BOOL LogoxReset()





    Dabei sind die Datentypen:



    BOOL Boolscher Wert

    ULONG nicht vorzeichenbehafteter 32 Bit Wert

    LPCSTR Zeiger auf einen null-terminierten String von 8-Bit ( ANSI ) Zeichen.

    PCWSTR Zeiger auf einen null-terminierten String von 16-Bit Unicode Zeichen.

    Ich weiß aber nicht, wie ich mein Java-Programm formulieren muss und was ich sonst noch tun muss, damit es diese Funktionen benutzen kann.

    Gruß Renate

  • #2
    Hallo.

    Als aller erstes so geht es garnicht. Du musst mit der JNI-Schnittstelle arbeiten. D.h. du musst eine eine spezielle DLL schreiben in C (nicht C++) über die dann java auf Logox zugreifen kann.

    Übrigens würde mich das mal sehr interessieren. Kannst du mal eine C-Quelltext hier reinschreiben, mit der eine Sprachausgabe gemacht wird? das wäre nett. Weil mit den reinen Prototypen kann man nun mal nichts anfangen.

    mfg Simo

    Comment

    Working...
    X