Autor Beitrag
maxstegi
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 26

WIN XP SP2 (Suse Linux 10.0 OSS)
Delphi 2005 PE
BeitragVerfasst: So 06.11.05 13:48 
Tach

Wie kann man sound vom Gehäuselautsprecher abspielen?
Ich hab in der Arbeit keine Lautsprecher und Soundkarte!
ich will aber so nen wecker machen, aber der sollte irgendwi piepen!

maxstegi
pRoTeUs
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 47

Windows XP prof
Delphi 2005 prof
BeitragVerfasst: So 06.11.05 14:07 
Nichts leichter als das:
ausblenden Delphi-Quelltext
1:
Windows.Beep(440, 100);					

Der erste Parameter ist die Frequenz des Tons in Hertz, der zweite ist die Dauer des Tons in Millisekunden.

mfg
proteus
maxstegi Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 26

WIN XP SP2 (Suse Linux 10.0 OSS)
Delphi 2005 PE
BeitragVerfasst: Sa 19.11.05 10:33 
Titel: Danke
Vielen Dank

Klappt prima!!!

Max