BelaPlatform / Bela

Bela: core code, IDE and lots of fun!
Other
493 stars 139 forks source link

IDE: starting a supercollider example will run whatever the current exampleTempProject is at the moment when the file is actually loaded #191

Open giuliomoro opened 8 years ago

giuliomoro commented 8 years ago

It's a race condition: you click to start the project, it takes about 20 second to start sclang and scsynth, at which point (and only then) the _main.scd file is read. If you are running this from an example (so it is in exampleTempProject), or have opened another project in the meantime (e.g.: to look up some SC examples), then it may end up loading the _main.scd of the currently open proejct (or fail if there is none). Not sure what the best approach to fix this is. Probably nothing?

LBDonovan commented 8 years ago

Yeah I dunno really. Why does it take so long?

Maybe get the Makefile to output a warning, 'don't change projects until SuperCollider has launched' or something?