Hi all,

On DOS and Windows programs using Turbo Pascal, I did the following to
make a sound of frequency FREQUENCY play through the speakers:

sound(FREQUENCY);

The following command stopped the tone:

nosound;

These two commands don't work on Linux, according to my
experience and FPC documentation.

How do all of you on Linux play tones from FPC? I tried forking command:

speaker-test -t sine -f 880

The preceding plays the tone, but depending on duration and delays, it
also produces either unpleasant clicks or nasty interference
frequencies between notes and so isn't adequate to play little tunes.

How are all of you playing tones through speakers in Linux?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm     
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to