Pins not making sense in my json wgd modular

I’ve built a very simple LPF patch as referenced in this video:

I have tested the patch in software using an external synth and wiring up some plug data “knobs” so I know the patch works.

I have worked out my compiling errors, so I believe that part is working. That makes me thing my json file is incorrectly mapped.

According to WGD the analog pins are wired as per: wgdmodular

Control Daisy Pin
P1 A0
P2 A1
P3 A2
P4 A3
CV1 A4
CV2 A5

So in my patch I’m using knob1 (cutoff) and knob2 (q) and my json is:

{
    "name": "wgd",
    "som": "seed",
    "audio": {
        "channels": 2
    },
    "components": {
        "knob1": {
            "component": "AnalogControl",
            "pin": 22
        },
        "knob2": {
            "component": "AnalogControl",
            "pin": 23
        },
        "knob3": {
            "component": "AnalogControl",
            "pin": 24
        },
        "knob4": {
            "component": "AnalogControl",
            "pin": 25
        },
        "cv1": {
            "component": "AnalogControl",
            "pin": 26
        },
        "cv2": {
            "component": "AnalogControl",
            "pin": 27
        },
        "cvout1": {
            "component": "CVOuts"
        },
        "cvout2": {
            "component": "CVOuts"
        }
    }
}

But no knobs on the wgd module are doing anything after I compile to it. It’s just passing input audio to the output. Any clues as to what I am missing?

You are not using the correct pin numbers.

Please read the note in the documentation: Board JSON - Heavy Compiler Collection

Thank you so much! For anyone else in my former shoes, here is the json with the correct digital pin numbers for wgd.

{
    "name": "wgd",
    "som": "seed",
    "audio": {
        "channels": 2
    },
    "components": {
        "knob1": {
            "component": "AnalogControl",
            "pin": 15
        },
        "knob2": {
            "component": "AnalogControl",
            "pin": 16
        },
        "knob3": {
            "component": "AnalogControl",
            "pin": 17
        },
        "knob4": {
            "component": "AnalogControl",
            "pin": 18
        },
        "cv1": {
            "component": "AnalogControl",
            "pin": 19
        },
        "cv2": {
            "component": "AnalogControl",
            "pin": 20
        },
        "cvout1": {
            "component": "CVOuts"
        },
        "cvout2": {
            "component": "CVOuts"
        }
    }
}
1 Like

Probably better to call it the löwenzahnhonig (LZH?) since that is the name of the module. WGD is only the brand.

If this is a popular module we can maybe add it to the plugdata toolchain.