Cliff Posted April 30 Share Posted April 30 I am working as user xyz inside a OM workspace, in a non-standard folder (actually located inside an Ableton project, to keep things tidy and close to each other). Example: Ableton project: /Users/xyz/Music/Ableton/Projects/2024-04_018 Project OM Workspace: /Users/xyz/Music/Ableton/Projects/2024-04_018 Project/2024-04_018 I can output the latest score as midi inside my workspace folder. (compile-score *last-score* :output :midi :file "/Users/xyz/Music/Ableton/Projects/2024-04_018 Project/2024-04_018/v.mid" :if-exists :new-index) This works fine, but I rather would like to be more flexible by using a folder path representation to current OM workspace. How can I store the midi, without referring to my local folder path explicitly? What's the correct form in the folder path, which always refers to OM workspace ? I tried ~/ , but this seems not a proper symbolic folder path representation to workspace. Thanks for help. Quote Link to comment Share on other sites More sharing options...
Cliff Posted May 31 Author Share Posted May 31 No solution for this ? Quote Link to comment Share on other sites More sharing options...
jon Posted May 31 Share Posted May 31 I'm pretty sure the `workspace-file` function does exactly what you want. (compile-score *last-score* :output :midi :file (workspace-file "v.mid") :if-exists :new-index) Cliff 1 Quote Link to comment Share on other sites More sharing options...
Cliff Posted June 3 Author Share Posted June 3 @jon thanks a lot, just tried it and it works as intended. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.