home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-readerstuff-
/
barry_beukhof
/
mpagui_mui
/
decode.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-04-29
|
1KB
|
58 lines
/* CONVERT */
options results; address MPAgui
MUIA_List_Active = 0x8042391c; MUIA_Disabled = 0x80423661
list ID SLST ATTRS MUIA_List_Active
list ID SLST POS result
cycle ID MAXFR
if result = '11025' then frequency = "-F 11025"
else if result = '22050' then frequency = "-F 22050"
else frequency = "-F 44100"
cycle ID QUALR
if result = 'Low' then quality = '-q0'
else if result = 'Medium' then quality = '-q1'
else quality = '-q2'
cycle ID MIXFR
if result = '11025' then mixfreq = "-x 11025"
else if result = '22050' then mixfreq = "-x 22050"
else mixfreq = "-x 44100"
cycle ID COUNT
if result = 'Frames' then counter = ''
else if result = 'Real_Time' then counter = "-T"
else counter = "-n"
cycle ID OFORM
if result = 'wav' then format = "-W"
else if result = 'aiff' then format = "-A"
else format = ''
CHECK ID MONOP; STAT = RESULT
IF STAT = 0 THEN MON = ''
ELSE MON = '-m'
check ID ASYNC; stat = result
if stat = 0 then asy = '-r'
else asy = ''
popasl ID MPEGA; program = result
SLIDER ID BUFFE; BUFFER = '-b'RESULT
SLIDER ID PRIOR; PRI = '-p'RESULT
popasl ID DEFI; savefile = result
LIST ID LIST1; FILE = RESULT
sound = "-n"
address command program ">con:100/100/440/70/Converting_File" file savefile format frequency quality mixfreq mon buffer counter oform sound asy pri
return