[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] SynthDef prefix error
- To: "sc-dev@xxxxxxxxxxxxxxxx" <sc-dev@xxxxxxxxxxxxxxxx>
- Subject: [sc-dev] SynthDef prefix error
- From: Lucas Samaruga <samarugalucas@xxxxxxxxx>
- Date: Sat, 2 Nov 2013 21:30:56 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=q4mN19Uk7iVGlG06FiAzEEKH8BoSPkK/AzFMyuiFCw0=; b=xvHj4L5uJat3iVa6wepadfhMkVe7/WPzEriYDR+b+OGbMg3d9dhcAHRXr+R4HV8p0b 8dsBFgV0nxdT+PtUw3UlKvI20RFmJqnQxLPVM3iI7MiAtUKlGywDRZCZywI+Bn8rr5Yq 9pOp6CojLlQGk+yorIDifuhB6X8Npr/Co7hW7EfTUBu8Dk0pv6etu0XncaW2Cp8Em/oh e/jIQGq+PVedOsfnVgV6gPwp6n6LAZZblCwogwpHqTLZijiF/D9ILoN53WvExyrmXG1Q ruw76ovqZcVSkAXjo/dMI1obnlRWWXacnNi9HV91uPs3ljbzwn0C45L5qfNooBjVmXS/ s1mA==
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
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