on calculateSize whatMember
--call with: set totalSeconds=calculateSize(member
"someSound")
set size=the size of whatMember
set sampleRate=the sampleRate of whatMember
set sampleSize=the sampleSize of whatMember
set channelCount=the channelCount of whatMember
return (size /(sampleRate*(sampleSize/8)))/channelCount
end
Back to the Phillip Newsletters
Any problems? email me:phillip@teleport.com
Last update: 17 December 1998