Closed vshesh closed 4 years ago
Hi vshesh,
I think we actually corresponded by e-mail about this, but after seeing your question I actually added the ability to call run_as_server
on the Session to have it behave as you have described. Simply replace s = Session()
with s = Session().run_as_server()
.
Hopefully that solves the issue!
Marc
hi,
this looks like a cool project! I was a little confused when I opened a terminal and saw that playing notes got me this error regularly:
It looks like the "session" concept is designed for immediate playthrough of a score. Is there a way to use this as a "server" of sorts? I want to be able to leave something running and then send notes to it based on changes in another environment (software, tangible interface, etc) and have it play those... or alternatively code up a state machine in python using scamp that responds to some kind of input (OSC messages from a TUIO command, for example)
Thanks!