Hi Zack, Looking at the JSON file it tooks like you need to differentiate the names of the aliases. You have ‘switch_left’ and ‘switch_right’ going to all three switches which could be confusing the oopsy patching/hooks.
In my JSON file under “aliases” the name on the RHS references the name of the component-pin and the name on the LHS references the param name used in Max.
Example:
“components”:{
“sw6”: {
“component”: “Switch”,
“pin”: 9
}
}
“aliases”: {
“sw1Pin1”: “sw6”,
}
FunBoxV13.txt (1.8 KB)
Thank you for the suggestion, I appreciate it! Unfortunately in my attempt to adjust the .json file with that in mind, nothing seems to have changed. I’m really not sure where the issue lies at this point on my end.
If I’m following you, this doesn’t sound incorrect if you’re using an on-off-on toggle. Only positions 1 and 3 are actually doing anything. You’ll just need to consider the middle position (2) as a default state in your patch.
Hi Zack,
I just noted you didnt have “audio” defined in your .JSON, which may or may not be the issue if the switch is controlling an audio parameter/action.
{
“name”:“funbox”,
“som”:“seed”,
“audio”: {
“channels”: 2
},
“defines”: {},
…
Unfortunately that didn’t seem to solve my toggle switch issue, but it looks like it should help with correctly achieving stereo with the FunBox, which is greatly appreciated! I’m really not sure where I’m going wrong at this point.