I've tried using the renoise.app():load_instrument_sample() function for programmatically loading a generated sample from my custom Renoise Tool.
I haven't been able to get this function to do anything besides return false, with no further errors. Nothing else seems to happen.
Simplest test case that fails:
1. Open the Scripting Terminal & Editor
2. In the terminal, run `renoise.app():load_instrument_sample("/path/to/test/sample.flac")`
3. Observe no sample is being loaded, also if you print the return value it's always `false`.
I tested with various .flac samples that come bundled with Renoise, as well as .wav samples. Neither worked for me.
Tested on both macOS and Linux.
Did anyone have any luck using this function?