Go backward to Executing a CONCERT Score Go up to Composing CONCERT Scores Go forward to Developing a Concert Score |
run() { monitor.start(); // start monitor on lecturer's host slides.start("slides"); // start slide show controlled by monitor monitor.wait("start"); // wait for lecturer's start signal audio.start(); // start audio instrument slides.wait("example"); // wait until example1 slide math.start("notebook"); // start mathematica notebook concert slides.wait(); // wait for lecturer prompting next slide math.hide(); // hide mathematica slides.wait("exercise"); // wait for exercise slide math.show(); // show mathematica for exercise work math.async(); // let audience work independently monitor.wait("interrupt"); // wait for lecturer signal math.leader(lecturer); // lecturer becomes math leader again slides.hide(); // hide slide show whiteboard.start(); // start whiteboard monitor.wait("continue"); // wait for lecturer signal on monitor whiteboard.stop(); // terminate whiteboard math.stop(); // terminate mathematica slides.show(); // show slide show again monitor.wait("stop"); // wait for lecturer signal on monitor slides.stop(); // terminate mathematica audio.stop(); // terminate audio connection monitor.stop(); // terminate monitor }