hello i’m very newbie :
i try to achieve to connect my pure data patch to the daisy
patch needs inputs for :
- 17 knobs repartited on 2 mux and 1 analog input for the 17th
- trigger input to bang
- 1 switch on off .
so how to add a second mux from this, how shall i do to implement in code the second mux for controls 9-16 please? i do another block like the first one replacing pin number and select inputs? is this correct?
{
"name": "muxed pd ",
"som": "seed",
"parents": {
"pot_mux": {
"component": "CD4051",
"mux_count": 8,
"pin": {
"adc": 15,
"sel0": 0,
"sel1": 1,
"sel2": 2
}
},
"pot_mux2": {
"component": "CD4051",
"mux_count": 8,
"pin": {
"adc": 16,
"sel0": 3,
"sel1": 4,
"sel2": 5
}
}
},
"components": {
"knob1": {
"component": "CD4051AnalogControl",
"index": 0,
"parent": "pot_mux"
},
"knob2": {
"component": "CD4051AnalogControl",
"index": 1,
"parent": "pot_mux"
},
"knob3": {
"component": "CD4051AnalogControl",
"index": 2,
"parent": "pot_mux"
},
"knob4": {
"component": "CD4051AnalogControl",
"index": 3,
"parent": "pot_mux"
},
"knob5": {
"component": "CD4051AnalogControl",
"index": 4,
"parent": "pot_mux"
},
"knob6": {
"component": "CD4051AnalogControl",
"index": 5,
"parent": "pot_mux"
},
"knob7": {
"component": "CD4051AnalogControl",
"index": 6,
"parent": "pot_mux"
},
"knob8": {
"component": "CD4051AnalogControl",
"index": 7,
"parent": "pot_mux"
},
"knob9": {
"component": "CD4051AnalogControl",
"index": 0,
"parent": "pot_mux2"
},
"knob10": {
"component": "CD4051AnalogControl",
"index": 1,
"parent": "pot_mux2"
},
"knob11": {
"component": "CD4051AnalogControl",
"index": 2,
"parent": "pot_mux2"
},
"knob12": {
"component": "CD4051AnalogControl",
"index": 3,
"parent": "pot_mux2"
},
"knob13": {
"component": "CD4051AnalogControl",
"index": 4,
"parent": "pot_mux2"
},
"knob14": {
"component": "CD4051AnalogControl",
"index": 5,
"parent": "pot_mux2"
},
"knob15": {
"component": "CD4051AnalogControl",
"index": 6,
"parent": "pot_mux2"
},
"knob16": {
"component": "CD4051AnalogControl",
"index": 7,
"parent": "pot_mux2"
},
"gatein1": {
"component": "GateIn",
"pin": 20
},
"switch1": {
"component": "sw1",
"pin": 19
}
},
"aliases": {
"knob": "knob1",
"ctrl": "knob1",
"ctrl1": "knob1",
"ctrl2": "knob2",
"ctrl3": "knob3",
"ctrl4": "knob4",
"ctrl5": "knob5",
"ctrl6": "knob6",
"ctrl7": "knob7",
"ctrl8": "knob8",
"ctrl9": "knob9",
"ctrl10": "knob10",
"ctrl11": "knob11",
"ctrl12": "knob12",
"ctrl13": "knob13",
"ctrl14": "knob14",
"ctrl15": "knob15",
"ctrl16": "knob16",
"gatein1": "gate1",
"switch1": "sw1"
}
}