[fpc-pascal] simple sound implementation

Marco van de Voort marcov at stack.nl
Mon Sep 3 12:38:38 CEST 2007

> Op Sun, 2 Sep 2007, schreef Mark Wood:
> If you run as root, acquire I/O port access and run SCHED_FIFO (so you are 
> not pre-empted), it might work.
> However, as nowadays all PCs have a 16 bit audio possibility I don't see a 
> reason to do such ugly tricks with the PC speaker.

A standard machine comes with a PC-screamer and an audio card, but not with
speakers FOR the audio card. Moreover they are usually external.

I can imagine messing with the speaker for cases for public PCs, which are
mostly single tasking. But maybe even then it is wiser to conform, and look
in some specialised vendor's catalogue for an internal speaker that connects
to the audio card.

More information about the fpc-pascal mailing list