Is there a way to load/unload samples through lua.
For example if I made a library with multiple mics.
Or is the ram save feature the only way to unload samples?
You should look under the Sample Zone’s SampleOsc.Filename parameter.
If you set this to an empty string or to nil it should do the trick for unloading.
However if you want to swap out samples just set the parameter to the new path, including filename.
I will try this out.