[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SynthDef prefix error



Hi

I found this obscure:

// it also happens with any other prefix x_
// when the suffix is repeated.
SynthDef(\test, { arg t_yyy, a_yyy, n_yyy;
    Out.ar(0, 0);
}).add;

ERROR: Function argument 'yyy' already declared in Interpreter:functionCompileContext
  in file 'selected text'
  line 1 char 21:

  #{ arg yyy, yyy, yyy;
                      
      var    xCD47CA09 = Array.new(6);
-----------------------------------
SynthDef:test
   
But the actual argument name contains the prefix!
Looks like a mysterious error message.

Best
Lucas