Find out why SatieConfiguration.fromJsonFile(path); returns nil
Summary
Sending a JSON string via OSC does not change the SatieConfiguration
Steps to reproduce
(How one can reproduce the issue - this is very important)
Example Project
Start SATIE (in SCIDE):
~satie = Satie().boot()
send an OSC message:
oscsend localhost 18032 /satie/configure s '{"satie_configuration": {"server": {"name": "null", "supernova": "false"}, "minOutputBusChannels": 2, "numAudioAux": 2, "ambiOrders": [1, 3], "listeningFormat": ["stereoListener", "quadpanaz"], "outBusIndex": [0, 2]}}'
What is the current bug behavior?
SATIE reboots but its configuration is not changed.
What is the expected correct behavior?
SATIE should reboot with a different output channels count.
Relevant logs and/or screenshots
https://gitlab.com/sat-mtl/tools/satie/satie/-/blob/develop/src/Satie.sc#L185 returns nil
Possible fixes
go down the path of converting JSON to SatieConfiguration
. The OSC message is being dispatched correctly.