can you explain how to use it and how it can help me?
im new to director
1 person found this helpful
You could download a copy of the Audio Xtra and install it in the authoring environment. You could then create a #movie script handler that uses this xtra to export any #sound cast members it finds as WAVE files.
Perhaps something like the following will help. Execute
from your message window. You will see a dialog warning you that the xtra needs to be registered, but if you dismiss this message the handler will continue as normal and any sound members it finds will be exported.
on mExportAudio mPath = _movie.path nLibs = _movie.castLib.count repeat with ll = 1 to nLibs nMembers = castLib(ll).member.count repeat with mm = 1 to nMembers tMember = member(mm, ll) if tMember.type = #sound then tName = tMember.name if tName = EMPTY then tName = string(mm) OK = axLoadSound(tName, "member", tMember) if OK <> 0 then put "axLoadSound failed:", OK, mm, tName OK = axConvertToFile(tName, mPath & tName & ".wav", "WAVE") if OK <> 0 then put "Export failed:", OK, mm, tName OK = axRemoveSound(tName) end if end repeat end repeat put "Done..." end