Skip to content
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

[WIP] first draft of querying UGen's signal graph connections #461

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nshaheed
Copy link
Contributor

This is a first pass at doing this, there several problems/things to think through:

  • multichannel ugens (i.e. dac) returns every individual channel ugen is attached
    for example:
SinOsc s => dac;

s.goesTo() @=> UGen arr[];

// This is two because dac is left and right
<<< arr.size() >>>;

<<< arr[0] >>>;
<<< arr[1] >>>;
  • Type has no way of returning the most specific UGen, for example I can do type.is("Gain") to test if my type is a gain, but there's no way to query that information directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant