home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Da Capo
/
da_capo_vol1.bin
/
programs
/
amiga
/
cdrom
/
jukebox
/
fadeout.jb
< prev
next >
Wrap
Text File
|
1995-02-14
|
573b
|
37 lines
/* fade in - requires V2 player module */
/* (c) copyright 1993 by F.J. Reichert */
options results;
current volume right;
right = result;
current volume left;
left = result;
if right > left then do
do i = right to left by -1;
set volume "-1" i;
current break;
if result ~= 0 then exit(5);
end;
level = left;
end;
else do;
do i = left to right by -1;
set volume i "-1";
current break;
if result ~= 0 then exit(5);
end;
level = right;
end;
do i = level to 0 by -1;
set volume i i;
current break;
if result ~= 0 then exit(5);
end;
pause;
exit(0);