This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-02
Channels
- # announcements (11)
- # babashka (3)
- # beginners (54)
- # cherry (1)
- # cider (11)
- # clojure (28)
- # clojure-europe (1)
- # clojure-norway (4)
- # clojure-sweden (3)
- # clojurescript (40)
- # community-development (3)
- # cursive (12)
- # datomic (2)
- # emacs (6)
- # hyperfiddle (12)
- # missionary (14)
- # off-topic (13)
- # overtone (10)
- # re-frame (13)
- # releases (1)
- # ring (2)
- # specter (11)
- # tools-deps (7)
I want to add a "pan" argument to the "bass" inst. I want this pan arg to affect the note instance, just like the freq, t, and amp arg does. I can do this by just copy-pasting, add my pan arg, and be done, but its not ... satisfying. I can add a pan fx at the end, but that would affect all playing notes it seems. Any ideas how to do this in a satisfying functional programming composability beautiful way?
In this case I want this to make a pseuod-echo kind of thing, because I like echos
ah okay
thanks for the reply
I was thinking maybe one could fudge it by dumping the ugen graph to overtone, adding stuff, then dumping it back
yeah, perhaps that’s possible, though would seem quite hard to do in a general way. If the ugen comes first or last that might work, nested ugens would certainly require more complex work. Also the need to add args and all that.
Sometimes functions may work for reusable ugen graph, but it depends (on things that I can’t quite remember right now). Here’s one I use often: https://github.com/diegovdc/tiempaminos/blob/04999ba8d22b87912bcc8f60eb37fbe6ad4d6517/src/tieminos/sc_utils/synths/v1.clj https://github.com/search?q=repo%3Adiegovdc%2Ftiempaminos+lfo&type=code
I hear each bass note sweeping from right to left. Sounds cool! Unusual. Occasionally they ping-pong back and forth? Or is that another dynamic?
Its meant to be very simple, see https://gitlab.com/jave/sylt-core/-/blob/main/src/sylt/core.clj?ref_type=heads#L2866 The pattern is meant to be generated by code, but I typed it out in full once, just so I could figure out how it was meant to look once. The pattern is then played by the function at https://gitlab.com/jave/sylt-core/-/blob/main/src/sylt/core.clj?ref_type=heads#L2805
also there was meant to be a filter parameter on the modified grunge, but aparently i used a chorus inst-fx! instead