ok, i have been trying to wrap my head around around supercollider. watched a lot of tutorials and have gotten the hang of the desktop version but having trouble applying it creatively.
i want to make a couple of changes to my local version of MollyThePoly.sc (https://github.com/monome/dust/blob/master/lib/sc/Engine_MollyThePoly.sc)
basically, i find myself wanting to hear slight variation between the envelopes of each voice of the synth. i was hoping i could get away with something stupid like changing the noteOn envelopes, ie “env2Attack”, to something like “(env2Attack * rrand(0.9,1.1)” but this doesn’t seem to work.
i am thinking one or both of these things are going wrong:
–rrand is only evaluating when the synth is loaded and not each time lua calls noteOn.
this is almost definitely happening, so i need to put in some kind of function that is called on noteOn to get a new random number? is that the most sensical way of dealing with this?
–all the voices must share the same parameter states because it’s a polyphonic synth. the noteOns are stored in a ParGroup (voiceGroup) which also looks like it contains the envelope values.
hopefully this is not happening, but if it is, maybe what i actually need to do is set up a different supercollider engine that is actually 16 mono synths? and hope i don’t crash into the cpu overhead? i have a very poor grasp on what ParGroups actually do.
i should probably put in more time figuring out supercollider before asking for help on this, but posting anyway in case other novices are sneaking ahead of the studies and have thought of this stuff already