@jamshark70
Thank you very much!
On my end (on macOS 13.6.3, Windows 11 and Ubuntu 22.04), the second (more interesting) solution gives the following error:
ERROR: syntax error, unexpected '#', expecting NAME or CLASSNAME or WHILE or '['
in interpreted text
line 3 char 6:
##freq = 440;
^
##amp = 0.1;
-----------------------------------
ERROR: Command line parse failed
-> nil
when evaluating the following code:
(
a = {
##freq = 440;
##amp = 0.1;
SinOsc.ar(freq, 0, amp).dup
}.play;
)
after evaluating the following three pieces of code:
Quarks.install("https://github.com/jamshark70/ddwSynthArgPreprocessor");
thisProcess.recompile;
// then...
s.boot;
So, I did solve the problem with the first simple way. There seems not to be a way to make certain sliders of MultiSlider ‘read only’. So, I used StaticText with Color:
https://sccode.org/1-5hC