can i use a button in PD to launch a bash script in macOS or on the terminal? this would greatly enhance the possibility of using PD but having Renoise be the sample-editor for a file and then get it back in later.
@esaruoho [command] and [ggee/shell] allow you to execute shell commands and scripts, both are in dekken, no idea if they work on OSX but I expect they would. I also do not know what shell they run, might be limited to plain old sh for scripts but I believe I have used bashisms with both, would be surprised if I havn't so they may just load the users default shell.
thanks. i take it i can use $1 $0 etc in the mix, too? i hope it'll work.
so in theory the steps i'm looking at is:
- record something to array (can already do this)
- save the array to a wavefile
- load the wavefile into "external editor" (in this case, Renoise)
- maybe after saving it in Renoise, press a button to reload that same wavefile back onto the Array.
i now know that
open -a /Applications/Renoise.app/Contents/MacOS/Renoise cw_amen01_175.wavwill load up Renoise and a specific wavefile. I think the rest could be done.
i'll see what
ok. that was nuts.
just this: and it loads up a wavefile into Renoise.
thanks heaps @oid - that's pretty much the only bit that i wasn't sure how to accomplish, the rest is just wrangling it to save to /tmp/ and making a button out of it.