on run {input, parameters} tell application "Terminal" activate set filesString to "" repeat with file_ in input set filesString to filesString & " " & quoted form of (POSIX path >of file_) end repeat do script "for f in" & filesString & "; do ~/Documents/ffmpeg/ffmpeg -i \"$f\" -acodec pcm_s16le \"${f%.*}.wav\" done" end tell return input end run
I wrote an applescript to add a right-click service in OS X, but this only takes the first channel and creates a mono wav file. How can i create a multichannel wav to accommodate 8 mono tracks?