home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Graphics
/
graphics-16000.iso
/
msdos
/
animutil
/
fastgfx
/
fg303e
/
expas.arj
/
FGDOC
/
EXAMPLES
/
PASCAL
/
15-01.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-09-30
|
521b
|
31 lines
program main;
uses fgmain, fgmisc;
var
freq : integer;
begin
writeln('20 Hz tone...');
fg_sound(20,3);
fg_waitfor(18);
writeln('100 Hz tone...');
fg_sound(100,3);
fg_waitfor(18);
writeln('1000 Hz tone...');
fg_sound(1000,3);
fg_waitfor(18);
writeln('warble...');
fg_sound(400,1);
fg_sound(410,1);
fg_sound(400,1);
fg_sound(410,1);
fg_waitfor(18);
writeln('sliding tone from 100 to 500 Hz...');
for freq := 10 to 50 do
fg_sound(freq*10,2);
end.