Fork me on GitHub
#overtone
<
2024-06-02
>
Joakim Verona11:06:03

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?

Joakim Verona11:06:02

In this case I want this to make a pseuod-echo kind of thing, because I like echos

Joakim Verona06:06:23

thanks for the reply

Joakim Verona06:06:23

I was thinking maybe one could fudge it by dumping the ugen graph to overtone, adding stuff, then dumping it back

diego.videco17:06:18

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.

diego.videco17:06:53

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&amp;type=code

frankleonrose19:06:24

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?

Joakim Verona09:06:41

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

❤️ 1
Joakim Verona09:06:45

also there was meant to be a filter parameter on the modified grunge, but aparently i used a chorus inst-fx! instead