I have got 3 guitar footswitches each connected to ground and B23, B24, and B25. I’m using Pisound micro mapper. My json is as follows
{
“$schema”: “https://blokas.io/json/pisound-micro-schema.json”,
“version”: 1,
“controls”: {
“pisound-micro”: {
“patch_down”: {
“type”: “gpio_input”,
“pin”: [“B23”, “pull_up”]
},
“note_trigger”: {
“type”: “gpio_input”,
“pin”: [“B24”, “pull_up”]
},
“patch_up”: {
“type”: “gpio_input”,
“pin”: [“B25”, “pull_up”]
}
},
“midi”: {
“pedals”: {
“controls”: {
“patch_down_cc”: { “type”: “control_change”, “channel”: 1, “id”: 14 },
“patch_up_cc”: { “type”: “control_change”, “channel”: 1, “id”: 15 },
“middle_c”: { “type”: “note_on”, “channel”: 1, “id”: 60 }
}
}
}
},
“mappings”: [
[“patch_down_cc”, “<-”, “patch_down”],
[“patch_up_cc”, “<-”, “patch_up”],
[“middle_c”, “<-”, “note_trigger”]
]
}
I am using pipedal and everything is working fine, but the midi isn’t working within pipedal (I have chosen ‘Pedals’ as my midi input).
I am new to this and I’m sure I am probably doing something wrong!
I can see the pedals fire when i use the command
watch -n 0.1 cat /sys/pisound-micro/elements/patch_down/value
the value changes from 1 to 0 when the pedal is pressed. All 3 pedals work as expected when watched.
Any advice will be gratefully received!