ossia / score

ossia score, an interactive sequencer for the intermedia arts
https://ossia.io
Other
1.5k stars 104 forks source link

Midi input device cannot be edited #1107

Closed jln- closed 3 years ago

jln- commented 3 years ago

Using score v3.0.0-a18, created Midi input device cannot be edited. Steps to reproduce:

Device has to be removed, then created again with the 'Create whole tree' option so it is properly created.

jcelerier commented 3 years ago

hmmm so, I'm not really sure on how to handle this properly: the device is indeed edited, but you have to refresh it manually afterwards to update it and see the new nodes. This is because if it was e.g. an oscquery device (score doesn't really make a difference on what "kind" of device it is by principle) you don't want to reload the entire device if you change a settings on it, for instance the port, because you may loose data.

jcelerier commented 3 years ago

tried to fix it with a special flag for the midi device, seems to work, hopefully it does not break anything unforeseen !