BelaPlatform / supercollider

an environment and programming language for real time audio synthesis and algorithmic composition
GNU General Public License v3.0
14 stars 8 forks source link

scsynth should send back CPU usage to SC IDE #57

Open giuliomoro opened 7 years ago

giuliomoro commented 7 years ago

This can be cut out of /proc/xenomai/stat:

grep bela-audio /proc/xenomai/stat | sed "s/ \{1,\}/ /g" | cut -d " " -f 8
sensestage commented 7 years ago

How do you imagine this would work?

scsynth or sclang would query this and send it back to the IDE?

How can something be sent back to the IDE? what is the interface for that?

giuliomoro commented 7 years ago

Sorry, I have not specified I am talking of the SC IDE. I see that it has a display of CPU usage, and so I assume there must be away in sclang or scsynth to send that back. Do you know anything about it?

As for the Bela IDE, we will arrange that in a different way (i.e.: in that case it is the IDE itself which greps /proc/xenomai/stat).