This is inspired by some experimentation I am doing with physical models, such as Stk and thinking about intuitive control, so here is the following issue.
Is there a good example/tutorial of something as follows?
I want to have a way to create a new Synth (SynthDef or a function that creates necessary SynthDef), together with some control mechanisms (buses and functions probably),
Given the folowing example
Having a piano, i can produce each sound as a separate event, but make all produced sounds be affected by muffling/sustain pedals. Think a single synth having 88 possible sounds to produce, and all sounds produced by it getting affected by pedal on/off.
I want a synth such that I can send events to it to trigger it, and I can muffle (not mute) all the sounds being produced by the synth unit at once.
I am not asking how to necessarily make these per se, but more how to make them in a modular way, are there good examples of separate units of sound (strings) being tied together and controlled together (by a pedal) or do I need to let go off this kind of thinking when working in SuperCollider?
The best I can think of is a function that produces a collection of synths; plus a collection of controls, with intuitive controls being linked to all the separate sound units by control buses.