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

Global Gain UGen does not disconnect itself from a local UGen when a shred is removed. #413

Open
eitomurakami opened this issue Nov 19, 2023 · 0 comments
Labels

Comments

@eitomurakami
Copy link
Contributor

Global Gain UGen does not seem to disconnect itself from a local UGen when a shred is removed.

Case1: local Gain => global Gain
Result: Removing this shred and adding it again adds another layer of 440Hz sinusoid and results in clipping.

global Gain globalGain;
SinOsc osc => Gain localGain => globalGain => dac;

while(true)
{
    100::ms => now;
}

Case2: global Gain => local Gain
Result: Removing this shred and adding it again safely results in a new 440Hz every time.

global Gain globalGain;
SinOsc osc => globalGain => Gain localGain => dac;

while(true)
{
    100::ms => now;
}

Tested on Windows 11 with miniAudicle. The same behavior can be observed in Chunity. (Chunreal currently uses dummy local Gains as in Case2).

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

No branches or pull requests

1 participant