I mostly control my synths live in code. I’d like to control stuff via Midi. I can do very basic stuff like triggering stuff etc. but haven’t developed a convenient method.
I’d like to send midi data to control buses and then plug the buses to synths. I haven’t figured out how to do this. Is there a help file or a tutorial somewhere?
Could some one help me with sending Poly Aftertouch to a bus and then use it in a synth?
Any help is welcome. Haven’t coded for a while, I’m totally out of shape
I’m really out of cognitive shape. I really need help. I’d like all the 64 polyaftertouch signals of my launchpad available over buses or one multichannel bus?
Has some one a working instrument or code snippet as inspiration?
well, the way to get cognitively swole is to do a lot of cognitive curls
For better or worse, the supercollider documentation is exactly the right place for cognitive curls; that is, it’s overwhelming sometimes even to find the info you’re looking for, and the .asSpec method is an example of that… it should be properly linked to ControlSpec but it isn’t.
roughly, what the ControlSpec does is define a mapping from [0, 1] to [low_value, high_value]; you need that to change from whatever values your midi device outputs to whatever your want to input to your synth; e.g., you get 0-127 from the midi device but need 0.3 Hz to 10 Hz for the synth to control some LFO; hence you divide the midi in value by 127 (val/127) to get it in the range [0, 1], and then, having defined a var spec = [0.3, 10].asSpec, map that value from the [0,1] range to the [0.3, 10] range by calling spec.map(val/127).
the .asMap is just a way to tell a synth param to read values from a control bus. (This is briefly documented in Bus.asMap.)