mp3 calculator 2

this is a mp3 calculator wich help you to calculate the size of a encoded audio cd. for this program you need only the normal applescript.

OS version: MacOS

--copyright by nicki schäfer, 2004.--
-- for improves please mail to nicki.schaefer@epost.de

on run
	display dialog "Welcome to my MP3 calcualtor for Audion 3..." buttons {"Next->"} default button {"next->"} giving up after 4 with icon 1
	set min to display dialog "Enter here the length in minutes of your audio CD:" default answer "60" buttons {"Next->"} default button {"next->"}
	set ZeitMinuten to text returned of min
	set sek to display dialog "Enter here the rest of the playtime of your audio CD in seconds:" default answer "20" buttons {"Next->"} default button {"next->"}
	set ZeitSekunden to text returned of sek
	set mb to ((ZeitMinuten * 60) + ZeitSekunden) * 0.015122987
	set ergebnis to ((round (mb * 10)) / 10)
	beep 1
	display dialog "If you encode your audio CD with Audion 3.0.2 in \"Normal Qualtiy\" your encoded audio CD has a size about " & ergebnis & " MB!" buttons {"Quit"} default button {"quit"} giving up after 10 with icon 1
end run