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

Diversion does not work with TidalCycles (but as SuperDirt event) #235

Open
thgrund opened this issue Mar 5, 2021 · 0 comments
Open

Diversion does not work with TidalCycles (but as SuperDirt event) #235

thgrund opened this issue Mar 5, 2021 · 0 comments

Comments

@thgrund
Copy link
Contributor

thgrund commented Mar 5, 2021

It looks like I can not use diversions in the current version of SuperDirt. My diversion example looks like this:

(
var diversions = ();
~diversions = diversions;
~d1.defaultParentEvent[\diversion] = { |dirtEvent| diversions[~s].value(dirtEvent.event) };

~diversions[\bubu]  = {
        Pfindur(~sustain ? 1,
                Pbind(
                        \dur, 0.04,
                        \note, Pbrown(-15, 15 ! 5, 0.3, inf) + 16,
                        \out, ~out, \pan, ~pan, \amp, ~amp * 0.1
                )
        ).play
}; 
)

This works totally fine when I try (type:\dirt, s:\bubu, dirt: ~dirt, out:~dirt.orbits[0].outBus).play;.
But when I try to use it in TidalCycles with d1 $ s "bubu" then I receive this error in SuperCollider:

no synth or sample named 'bubu' could be found.
module 'sound': instrument not found: bubu
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

No branches or pull requests

1 participant