Rosetta Error From PlugData to DaisySeed on macOS

Hello Daisy Forum!

I am working on a guitar fx project with the daisy seed using plugdata and am trying to flash to the seed. I have written a custom json file for 2 pots and one switch. When I try to flash the code this error appears:

Since it looks like it is likely to do with the json file, I will put it here:

{
    "name": "waveseed",
    "som": "seed",
    "audio": {"channels" : 1},
    "components": {
        "knob1": {
            "component": "AnalogControl",
            "pin": 22
        },
        "knob2": {
            "component": "AnalogControl",
            "pin": 23
        },
        "switch1": {
            "component": "Switch",
            "pin": 24
        }
    }
}

Can anyone point me in the right direction for solving this issue and flashing the code properly? Thanks!

I don’t see an error, but I recommend that you update to the latest Plugdata (0.9.3) first so that we can see better output in the compile window.

JSON looks good to me (at least superficially).

(ps I formatted your json for you so that it’s readable :wink: )

Did a quick test and it builds fine for me.

Test-patch:

#X obj 180 171 r knob1 @hv_param;
#X obj 327 171 r knob2 @hv_param;
#X obj 98 171 osc~ 440;
#X obj 98 297 *~;
#X msg 180 206 \$1 20;
#X obj 180 232 line~;
#X msg 327 206 \$1 20;
#X obj 327 232 line~;
#X obj 98 323 *~;
#X obj 98 349 *~;
#X obj 98 375 dac~ 1;
#X obj 480 171 r switch1_press @hv_param;
#X msg 480 206 \$1 20;
#X obj 480 232 line~;
#X connect 0 0 4 0;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 8 0;
#X connect 4 0 5 0;
#X connect 5 0 3 1;
#X connect 6 0 7 0;
#X connect 7 0 8 1;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 13 0 9 1;

I updated to the latest version and ran it again. The export failed and the same warning from before appeared. I am still new to daisy and code/compiling so I don’t understand much of what is happening in the compiler, but here are a few moments that seemed worth noting

the line “Wno-missing-attributes” followed by “-fasm -fdata-sections -ffunction-sections” the showed up a lot in the compiler at various points

this warning also occurred:

HMessage.c: 173:55: warning: format 'IX' expects argument of type 'unsigned int', but 0 argument 4 has type 'uint32_t' (aka 'long unsigned int' ) [-wformat=]

173

case HV_MSG_HASH: len[1] = hv_snprintf(NULL, 0, "8x%X", msg_getHash(m,

This was the failure message:

thanks for the help thus far!

You’re using a Mac, and that looks like a Rosetta error - have you installed Rosetta?

I’d open a Terminal window, and try:

softwareupdate --install-rosetta

1 Like

You can completely ignore any warnings, they are just that: warnings

More details about your OS and setup would certainly be appreciated.

I have an M3 Macbook running Sonoma 14.5, and I made sure that rosetta was installed. I now am able to flash the patch successfully to the daisyseed, but the patch isn’t working how it was in plugdata. I made a vibrato/tremolo patch and am currently trying to test it on the daisy. I put an oscillator in the plugdata patch in place of an adc object so i dont have to go through the trouble of plugging my guitar in to check if the pots on the breadboard control the speed and depth values. It works exactly as expected in the patch in plugdata, but there is no sound when I flash it to daisy.

So the issue has been resolved?

Perhaps open a new topic with a minimized version of your patch that reproduces the issue.

The issue of exporting is resolved :+1:

Ill open a new topic for the rest of the issues. Thanks for all the help.

1 Like