Skip to content

Instantly share code, notes, and snippets.

Created December 9, 2011 14:08
What would you like to do?
Use xmp to convert DMF files to WAV
set channelNumbers to 12
set fileName to "/Users/you/Projects/SONGNAME"
set nr to 1
set extension to ".WAV"
set dmfFileName to "'/Users/you/Projects/SONGNAME.DMF'"
repeat while nr ≤ channelNumbers
-- display dialog nr
set xmpcmd to "/usr/local/bin/xmp -S " & nr & " -o '" & fileName & nr & extension & "' " & dmfFileName
-- display dialog xmpcmd
do shell script xmpcmd
set nr to nr + 1
end repeat
Copy link

Sonic56 commented Jan 20, 2023

what program did you use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment