Error: c2daisy: Expecting ',' delimiter

I am getting a similar error using stand alone plug data. Here is mine. Using v0.9.1

--> Generating C

=== Signal Order ===
__biquad_k~f {ff0:1.0 ff1:0.0 ff2:0.0 fb1:0.0 fb2:0.0}
__add~f
__biquad_k~f {ff0:1.0 ff1:0.0 ff2:0.0 fb1:0.0 fb2:0.0}
__add~f
AVX: 66 cycles / 8.25 cycles per frame
     512 frames @ 1000MHz >= 4.22us
SSE: 36 cycles / 9.0 cycles per frame
     512 frames @ 1000MHz >= 4.61us
CPU% #Objs Object Type      Performance
==== ===== ================ ===========
90%  2     __biquad_k~f     Counter({'avx': 60, 'sse': 30})
 9%  2     __add~f          Counter({'avx': 6, 'sse': 6})
--> Generating Daisy module
  1) e[91mErrore[0m c2daisy: Expecting ',' delimiter: line 39 column 1 (char 795)
Total compile time: 247.11ms
Compiling for custom...
make: C:/Users/abelo/AppData/Local/Temp/Heavy-d2443fa37106a2fe173278/daisy/source/Makefile: No such file or directory
make: *** No rule to make target 'C:/Users/redacted/AppData/Local/Temp/Heavy-d2443fa37106a2fe173278/daisy/source/Makefile'.  Stop.

v0.9.1 is not supported, please try v0.9.2

What does your json file look like? It seems like there is a problem with it.

Thanks. I downloaded 0.9.2. similar compiler error:

Command: “C:/Users/Public/Documents/plugdata/Toolchain/usr/bin/Heavy/Heavy.exe” “C:/Users/Public/Documents/plugdata/LPF.pd” -o “C:/Users/abelo/AppData/Local/Temp/Heavy-de4f2ea31e2cbb8558fd1f” -nLPF -m"C:\Users\abelo\AppData\Local\Temp\temp_78edbf5b.json" -v -gdaisy -p “C:/Users/Public/Documents/plugdata” “C:/Users/Public/Documents/plugdata/Abstractions/else” “C:/Users/Public/Documents/plugdata/Abstractions/cyclone” “C:/Users/Public/Documents/plugdata/Abstractions/heavylib” “C:/Users/Public/Documents/plugdata/Abstractions” “C:/Users/Public/Documents/plugdata/Externals” “C:/Users/Public/Documents/plugdata/Extra/else” “C:/Users/Public/Documents/plugdata/Extra/Gem” “C:/Users/Public/Documents/plugdata/Extra”
→ Generating C

=== Signal Order ===
__biquad_k~f {ff0:1.0 ff1:0.0 ff2:0.0 fb1:0.0 fb2:0.0}
__add~f
__biquad_k~f {ff0:1.0 ff1:0.0 ff2:0.0 fb1:0.0 fb2:0.0}
__add~f
AVX: 66.0 cycles / 8.25 cycles per frame
512 frames @ 1000MHz >= 4.22us

SSE: 36.0 cycles / 9.0 cycles per frame
512 frames @ 1000MHz >= 4.61us

NEON: 0.0 cycles / 0.0 cycles per frame
512 frames @ 1000MHz >= 0.00us

CPU% #Objs Object Type Performance
==== ===== ================ ===========
90% 2 __biquad_k~f {‘avx’: 60.0, ‘sse’: 30.0, ‘neon’: 0.0}
9% 2 __add~f {‘avx’: 6.0, ‘sse’: 6.0, ‘neon’: 0.0}
→ Generating Daisy module

  1. e[91mErrore[0m c2daisy: Expecting ‘,’ delimiter: line 39 column 1 (char 795)
    Total compile time: 370.56ms
    Compiling for custom…
    make: C:/Users/abelo/AppData/Local/Temp/Heavy-de4f2ea31e2cbb8558fd1f/daisy/source/Makefile: No such file or directory
    make: *** No rule to make target ‘C:/Users/abelo/AppData/Local/Temp/Heavy-de4f2ea31e2cbb8558fd1f/daisy/source/Makefile’. Stop.

Json for WGD Löwenzahnhonig

{
    "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"
        }
}

You are missing a closing } on the components section, so this json is not valid.

You can validate your json files using https://jsonlint.com/

Thank you for your guidance and patience. All is working now!

1 Like