-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topic/use named controls in node proxy #5675
Topic/use named controls in node proxy #5675
Conversation
This makes the control visible for other named controls in the UGen function.
This makes them consistent with named controls in the UGen functions.
I guess you didn't see #5655 or I wrote a way TLDR summary for it... I guess I can close that now. Please let me know if you plan to make your own PR for other stuff like avdrd@82862d2, so I don't waste my own time with that. |
Ah sorry, I didn't see that you had made a separate one. I only saw your blobs you posted. So not a waste of time at all, because I more or less was able to copy your suggestions.
No, I had no plans to do this because I have very little time right now. I'd be glad if you can make a PR for that separately, if you have time for it. Thanks for your contributions, this is very valuable. |
Hi @telephon and @avdrd, Otherwise, are there reasons speaking for/against implicit
|
Interesting. This is exactly the same: { NamedControl.kr("t", 1).dump.source.dump }.asSynthDef
{ \t.kr(1).dump.source.dump }.asSynthDef Instance of OutputProxy { (0x7f89990b1158, gc=74, fmt=00, flg=00, set=04)
instance variables [11]
synthDef : instance of SynthDef (0x7f89604e3db8, size=16, set=4)
inputs : nil
rate : Symbol 'control'
synthIndex : Integer 1
specialIndex : Integer 0
antecedents : nil
descendants : nil
widthFirstAntecedents : nil
source : instance of Control (0x7f8960606fd8, size=10, set=4)
outputIndex : Integer 0
name : nil
}
Instance of Control { (0x7f8960606fd8, gc=74, fmt=00, flg=00, set=04)
instance variables [10]
synthDef : instance of SynthDef (0x7f89604e3db8, size=16, set=4)
inputs : nil
rate : Symbol 'control'
synthIndex : Integer 1
specialIndex : Integer 1
antecedents : nil
descendants : nil
widthFirstAntecedents : nil
channels : instance of Array (0x7f89603fce98, size=1, set=2)
values : instance of Array (0x7f89910b29c8, size=1, set=2)
}
-> a SynthDef
Instance of OutputProxy { (0x7f8990fcea08, gc=74, fmt=00, flg=00, set=04)
instance variables [11]
synthDef : instance of SynthDef (0x7f896063d5f8, size=16, set=4)
inputs : nil
rate : Symbol 'control'
synthIndex : Integer 1
specialIndex : Integer 0
antecedents : nil
descendants : nil
widthFirstAntecedents : nil
source : instance of Control (0x7f899906ca58, size=10, set=4)
outputIndex : Integer 0
name : nil
}
Instance of Control { (0x7f899906ca58, gc=74, fmt=00, flg=00, set=04)
instance variables [10]
synthDef : instance of SynthDef (0x7f896063d5f8, size=16, set=4)
inputs : nil
rate : Symbol 'control'
synthIndex : Integer 1
specialIndex : Integer 1
antecedents : nil
descendants : nil
widthFirstAntecedents : nil
channels : instance of Array (0x7f89b0a126e8, size=1, set=2)
values : instance of Array (0x7f8998d4eda8, size=1, set=2)
}
-> a SynthDef |
well, I tend to go to the more verbose and less roundabout version in class libraries, that's all. |
should work now … |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works as intended, good to go!
Purpose and Motivation
As @avdrd has noticed (thanks!), node proxies may collide with uses of
NamedControl
: #5648This is a lightweight, partial fix. A complete fix will require touching
SynthDef
more deeply.To-do list