ossia / score

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

b22 crash when refreshing namespace while playing #485

Closed avilleret closed 3 years ago

avilleret commented 7 years ago

with b22, I got a crash when refreshing a device namespace while playing (yes I'm crazy) no bt for now, but should be easy to reproduce the device was an openFrameworks application with ofxOSSIA

jcelerier commented 7 years ago

yeah, when refreshing all the nodes are deleted / recreated so if any was being used in an automation it would crash. I'd rather prevent refreshing during execution because else it would mean introducing mutexes everywhere which would give a non-negligible performance hit...

avilleret commented 7 years ago

disable refreshing while playing is fine for me

avilleret commented 7 years ago

or what about a quick and automatic stop, refresh, play-from-where-I-stop sequence ?

jcelerier commented 7 years ago

or what about a quick and automatic stop, refresh, play-from-where-I-stop sequence ?

I don't think that it could be quick if it's a big device, so it would make the show lag a bit at least. Did you try automatic update of oscquery ? Normally it should work.

avilleret commented 7 years ago

lag is OK for me and would be always shorter than clic stop, update and then clic play from here

btw, what is automatic update of oscquery ?

jcelerier commented 7 years ago

btw, what is automatic update of oscquery ?

normally if a node is added in the remote device it should appear in real time in i-score.