![]() (The ~ is simply a shorthand for your home folder, which in OS X is normally under /Users) Now just drag the folder(s) you want to the term window, this will auto-type them (by full pathname) and it will add a space between each, necessary to tell that they're different folders. app doesn't work and you need to run the shell script directly from a terminal window, the simplest thing would be to move the script to your desktop (plain text file, let's say you call it pianoteq-midi2wav.sh) then open a terminal window and type:īash ~/Desktop/pianoteq-midi2wav.sh (followed by a space, make sure the cursor is here) sh suffix at the end is optional, but clarifies that it's a shell script) yeah, you did exactly what i though would work (plain text file. If you don't have Automator, you can still find and edit the script text in the file "Contents/document.wflow" but that's a bit harder. ![]() The only thing is that if you need to change the script, you have to open the app in Automator. so i created a small "Automator" project, just extract the app and drag-n-drop folders to it containing the MIDI files you want to render to WAV. Sorry, i tested with a simple shell script and it doesn't work (can't pass arguments by drag and drop). * edit */ Never mind, i tested with a simple shell script and it doesn't work (can't pass arguments by drag and drop). If you want to see the pianoteq window appear for each midi->wav conversion, just remove the -headless option. Or, optionally, from a terminal window, run the script with folder names as arguments. Now you should be able to just drag and drop folders containing MIDI files onto this script, and the WAV files should be generated right beside the MIDI files. Change the permissions of the script to include "executable". The folder name "/Applications/Pianoteq 5/." should be okay for a default install, but if you installed Pianoteq to another location, just change it to that location. "/Applications/Pianoteq 5/Pianoteq 5.app/Contents/MacOS/Pianoteq 5" -headless -midi "$file" -wav "$wavfile"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |