Autor Beitrag
Fischman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Mo 23.08.04 20:32 
Hallo Leute,
beim Amiga wenn ich mir da so endsinne,konnte man doch einen Text eingeben und der wurde dann so mal als Sprache ausgeben.Gibt es sone Komponente für Delphi auch.Wäre ja nicht schlecht oder.Weis da einer was ob sowas gibt.

Gruß Uwe
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 23.08.04 21:10 
Microsoft bietet eine TTS Engine incl. SDK (Text To Speech) an, mit dem das eigentlich ganz gut geht (kostenlos). Ansonsten gibt's auch noch andere, also einfach mal nach TTS suchen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Di 24.08.04 17:18 
Ok werd ich nach schauen.

Gruß Uwe
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Di 24.08.04 18:23 
So kommst du zu der von M$:

Komponente :arrow: ActiveX importieren... :arrow: Microsoft Direct-Text-To-Speech :arrow: Unit erstellen :arrow: Komponente :arrow: Komponente installieten ( :arrow: Package auswählen) :arrow: OK :arrow: Compilieren :arrow: ActiveX :arrow: DirectSS :arrow: auf Form ziehen.

Fragen zur Nutzung an mich. Habe mich damit schon etwas beschäftigt.
Doc Morelli
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27



BeitragVerfasst: Di 24.08.04 19:36 
Zitat:
Microsoft Direct-Text-To-Speech


--> Gibt es bei mir leider nicht. Was dann?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 24.08.04 19:59 
Das ist eine Zusatz-Bibliothek. Die musst du dir zuvor von M$ noch Downloaden. Einfach mal bei M$ vorbeigucken, kostet außer Zeit auch nix ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Di 24.08.04 20:01 
musst du laden: MS TTS

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Doc Morelli
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27



BeitragVerfasst: Di 24.08.04 20:10 
Gut, und wie kann ich damit jetzt einen Text *sprechen* lassen?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 24.08.04 20:22 
Im Allgemeinen durch Lesen der Dokumentation oder Anschauen der beiliegenden Beispiele. Falls beides nicht vorhanden sein sollte, ist das PSDK\MSDN Lib eine gute Hilfe. Auch kann selbst probieren und rumtesten oft Wunder bewirken.

Ahcso, noch'n Hinweis:
MS meint noch, dass man unter Win2K\XP für Nicht-Admins folgendes mit beachten sollte:
www.microsoft.com/ms...er/tts3000deploy.asp

Zum Programmieren gibts auch gleich nen Link:
www.microsoft.com/msagent/dev/default.asp

Hier übrigens die Code-Beispiele:
www.microsoft.com/ms...dev/code/default.asp

MfG,
BenBE.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Mi 25.08.04 14:57 
GSE hat folgendes geschrieben:
musst du laden: MS TTS

mfg
GSE


Das ist mir neu. Ich habe es ohne Zusatzinstallation sowohl bei Win 98 als auch bei XP, mit zwei deutschen Stimmen (keine englische!).

Zur Funktionsweise sieh die einfach die Methoden an, Die Namen sind eindeutig, z. B.

ausblenden Delphi-Quelltext
1:
FATextToSpeech1.Speak('Hallo!');					


Du kannst Sprecher auswählen, Lautstärke, Geschwindigkeit und Tonhöhe einstellen.
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mi 25.08.04 15:01 
Zitat:
Das ist mir neu. Ich habe es ohne Zusatzinstallation sowohl bei Win 98 als auch bei XP, mit zwei deutschen Stimmen
wenn er's aber nicht hat, hilft das nicht viel, oder?

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Viper
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 88



BeitragVerfasst: Mi 25.08.04 15:53 
Hallo.

Ich habe das jetzt alles erfolgreich bei mir eingebunden.
Jetzt meine Frage:
Wenn ich das Programm weitergebe, muss ich dann dafür sorgen, dass auf dem anderen Computer diese Datei (Microsoft Direct-Text-To-Speech) installiert wird?

_________________
"Der Sinussatz ist nur was für Leute, die Teichbesitzer mit Insel und Baum sind. Alle anderen können ihn vergessen" (Mein Mathe-Prof.)
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Mi 25.08.04 15:57 
Gib den Leuten doch einfach einen Link weiter, dann können Sie es selbst installieren...

Zum selbst weitergeben musst du, glaube ich, einen Brief an MS schreiben, ähnlich wie beim Assistenten ("MS AGENT", besser bekannt auf Office-Assistent). Vielleicht kennt sich damit ja jemand aus.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 19.10.04 18:32 
das wird ja den im Imports ordner gespeichert,
kommt das denn bei uses hin?

ausblenden Quelltext
1:
2:
3:
uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ACTIVEVOICEPROJECTLib_TLB,
  StdCtrls;

und dann
FATextToSpeech1.Speak(edit1.text);

???
Funzt net !
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Di 19.10.04 18:38 
F34r0fTh3D4rk hat folgendes geschrieben:
FATextToSpeech1.Speak(edit1.text);

???
Funzt net !


Klar, du musst erstmal das Teil auf deine Form ziehen, und dann heißt es vermutlich erstmal nur DirectSS1.Speak('Hallo!'); weil TFATextToSpeechz ist meine eigene Klasse zur Verbesserung des ganzen.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 19.10.04 19:56 
[Error] Unit1.pas(27): Undeclared identifier: 'DirectSS1'
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Di 19.10.04 20:05 
Am liebsten:
*kein Kommmentar*

Ich habe bzw. FAlter hat folgendes geschrieben:
du musst erstmal das Teil auf deine Form ziehen
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 20.10.04 17:33 
???
FAlter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 192

Win XP Home
Turbo Delphi 2006 (Win32), C# (VS 2008 Prof.), Java (Eclipse), PHP
BeitragVerfasst: Mi 20.10.04 17:52 
N8un ja, di kannst ja auch nicht auf Edit1.Text zugreifen, wenn du kein Edit1 auf deinem Form hast. Genauso ist es beim DirectSS auch, du musst erst deine Komponente auf die Form ziehen, bevor du auf sie zugreifen kannst.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 21.10.04 18:28 
ich habs installiert, hab aber keine komponenten bei delphi drin !