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

allow 'd' flags as messages in [clone] #2004

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

Conversation

porres
Copy link
Contributor

@porres porres commented Jun 19, 2023

closes #1994

@porres porres changed the title allow 'd' flags as messages allow 'd' flags as messages in [clone] Jun 19, 2023
@Spacechild1
Copy link
Contributor

Looks good to me. Personally, I don't really see a use case, but that doesn't say much :-)

As you said yourself, the method names are not exactly pretty. Maybe we could use the full names, but then again I don't even know what "-d" and "-do" actually stand for...

@porres
Copy link
Contributor Author

porres commented Jun 19, 2023

I have a special use case at least for 'do'.

You see, I am designing this multi channel oscillator bank abstraction. It takes a multichannel signal for setting the frequencies of the oscillators and I am using clone for each oscillator in the bank.

Now, I want the user to be able to set if is desired that the output is a single channel or a multichannel, but for now I can only hardcode this in the [clone]'s creation arguments.

I hope @millerpuckette sees this as something that is actually important to have

@millerpuckette
Copy link
Contributor

"-d" etc stand for "distribute". Another possibility would be "-f" , etc, meaning "fan" , "fan-in", "fan-out".

I don't want to add any more features/options right now - I think we haven't finished debugging everything that's already in there.

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

Successfully merging this pull request may close these issues.

allow setting [clone]'s "d" flags as messages
3 participants