Hello!
I’m currently using Daisy Seed and pd2dsy to build a sensor-based instrument. In order to map sensor data to synth parameters, I made a custom json file and ran the following line in the terminal.
python pd2dsy.py -c customseed.json project.pd
I have both customseed.json and project.pd in the same pd2dsy folder.
{
"name": "customseed",
"som": "seed",
"components": {
"knob": {
"component": "AnalogControl",
"pin": 15
},
"ribbon1": {
"component": "AnalogControl",
"pin": 16
},
"ribbon2": {
"component": "AnalogControl",
"pin": 17
},
"fsr1": {
"component": "AnalogControl",
"pin": 18
},
"fsr2": {
"component": "AnalogControl",
"pin": 19
}
}
}
But I get the error…
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
It’s clearly in double quotes, so I’m confused as to what I’m doing wrong.
I would greatly appreciate any insight!
FYI, I’m using TextEdit. I change the .rtf extension to .json. Maybe this is bad?
THANKS!!!