Ogg files --success and not much success
Thomas McCarthy
tominjapan at excite.com
Thu May 26 00:17:25 EDT 2005
I got a rev script to encode a wav file into ogg format on my Mac osX-using a call via Applescript (from Ken Ray's site)(below)
Great.
But, I wanted to try going the other way and decoding it to wav (or perhaps playing it directly) but I have this problem: I don't have the Unix executable file "oggdec" or "ogg123" which would allow me to do this.
Does anyone have these or know where to get them?
the script:
I called this function with (path_to_unix.exe path_to_wav_file)
function shellSH cmd
-- Sorry, no quote marks in cmd in this version
-- And shellCommand is ignored
put "do shell script" & quote & cmd & quote into s
do s as AppleScript
put result() into r
replace numToChar(13) with linefeed in r
return r
end shellSH
worked like a charm.
tom
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
More information about the use-livecode
mailing list