Hi,
are you using Windows or Linux?
I will assume Windows, because you want to replace the Delphi component.
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
Benito van der Zander
