Gain() works, amp() doesn't?

I’m sure I was using these interchangeably the other day, even the example line from the documentation doesn’t seem to work, I’m using REPL in a chrome webapp but this seems to be broken when i try in a browser as well. My real question is when .amp() is working is it controlling the same thing as .gain() in the background just linear? I was using .gain to give a pattern some bounce when i discovered that adding a slider controlled gain would override it so i tried to use amp instead hoping that i could keep my stepped gain control and still manually fade out that section of code when i discovered that amp doesn’t seem to work at all, am i just implementing it wrong or is this a bug?

n("[0 1]*4").s("hh").gain(0) ← that one outputs no sound (as expected)

n("[0 1]*4").s("hh").amp(0) ← that one outputs the sound at full volume

okay coming back to reply that i’m using .postgain as my ‘bus’ controllers, also quickly learning that it’s easier to set up a proper side chain by sending a bunch of different orbits to blackhole and into a proper daw, as far as i can tell .amp is depreciated, tho linear control would be nice as it’ll map properly to a midi controller

1 Like