Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

How to produce a tone at Tone frequency for duration, MSecs (milliseconds)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sven Barth
to Benito van der Zander
Benito van der Zander wrote
Then you can Windows.Beep, (which I'm pretty sure exists in Lazarus), or directly talk to the device driver like I described it here: http://bugs.freepascal.org/view.php?id=12437

I don't think it's a good idea to talk to the driver directly, because Vista x64 and 7 (both platforms) don't have the driver anymore (that is described in the article you linked at the end of the bug report's commonts). Just use Windows.Beep (on Windows) and be happy.

Regards,
Sven

Reply by email