Open tkna91 opened 1 month ago
The Other
tab of the Disk Browser can open any file that Renoise supports.
Unsupported files can be unconditionally opened as samples.
In the same way, this means that Renoise will open multiple line-separated file paths received from the execution result.
https://github.com/user-attachments/assets/406ae1f6-6017-4e5d-aeaf-7fb98cfac5d0
It is like a lesser implementation of this, but with a wider range of uses. https://github.com/esaruoho/org.lackluster.Paketti.xrnx/issues/459
For example, on macOS or Linux, the following can be written in a slot and executed to open the corresponding sample in the sample editor.
/bin/sh -c "echo ~/make-music/instrument/sample/amen-brother.wav"
For example, on macOS or Linux, the following can be written in a slot and executed to open the corresponding sample in the sample editor.
/bin/sh -c "echo ~/make-music/instrument/sample/amen-brother.wav"
could you please explain to me what you mean by "open the corresponding sample in the sample editor" <- which sample editor?
Sorry. I meant Sampler, not Sample Editor.
This is intended to be the same as opening any file in the Other
tab of the Disk Browser.
https://github.com/user-attachments/assets/e9170df5-bb40-4dd5-ab97-7c49d16c63dd
Maximize the power of
os.execute()
with minimal developmentThe method is to execute the script specified in the slot and receive and open a newline-delimited file path from it. That way, there is no need to implement on the paketti side the randomization process, etc. that the user wants to process. It is also possible to open three samples of
*kick*
,*sn*
,*hh*
at once, each with a randomly selected drum. It is relatively easy to write that in bash.Its implementation can be left to the user. This makes paketti relatively simple to implement and facilitates easy implementation of impressive features on the part of the user. By leaving it up to the user, liability for security issues and accidents can also be avoided. There is no need to take into account differences in commands and paths for different operating systems and environments.