On 15/09/15 22:14, Graeme Geldenhuys wrote: > On 2015-09-15 20:59, Peter wrote: >> I guess he means Procedure Sound in rtl/unix/crt.pp >> This does not work for me either, just get the "sound of silence". > > > That is a know problem for many years. Here is a thread from 2007. > > http://free-pascal-general.1045716.n5.nabble.com/simple-sound-implementation-td2816047.html#a2816060 > > > Regards, > - Graeme - >
Still, seems easy enough to do basic sounds in linux by shelling the beep command.... program soundcheck; uses Process; var s : ansistring; begin RunCommand ('beep',['-f','100','-l','900'],s); end. Fisrt number is frequency, 2nd is length in Ms. Need to have 'beep' installed, and possibly need to do sudo modprobe pcspkr Regards, PB _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal