diff --git a/AlgoScore2.quark b/AlgoScore2.quark new file mode 100644 index 0000000..27770ec --- /dev/null +++ b/AlgoScore2.quark @@ -0,0 +1,9 @@ +( + name: "AlgoScore2", + summary: "A graphical environment for algorithmic composition, where music is constructed directly in an interactive graphical score.", + version: "2.0.0", + schelp: "Algoscore", + dependencies: [], + //license: "GPL", + copyright: "Jonatan Liljedahl. 2012" +) \ No newline at end of file diff --git a/classes/PatternPlotter.sc b/classes/PatternPlotter.sc index d91cf89..f7977cc 100644 --- a/classes/PatternPlotter.sc +++ b/classes/PatternPlotter.sc @@ -204,7 +204,7 @@ PplotPart { ^Prout({ | ev | var a, cleanup; cleanup = EventStreamCleanup.new; - a = (type: \plotPart, isRest: true, dur: 0, plotID: id, plotCleanupFuncs:List[]); + a = (type: \plotPart, isRest: Rest(0), dur: 0, plotID: id, plotCleanupFuncs:List[]); cleanup.addFunction(a, { a.plotCleanupFuncs.do(_.value); a.plotCleanupFuncs.clear }); ev = a.yield; ev = Pchain(pattern, (plotID: id)).embedInStream(ev); @@ -494,7 +494,9 @@ PatternPlotter { pen.stroke; }; }; - plot.isActive = false; + //plot.isActive = false; + //"plot stop".postln; + plot.stop; // isActive is a method, not a member boolean }; }; var doHelpLines = {|plot,v,end,op,x,yy| @@ -556,7 +558,8 @@ PatternPlotter { plot.state = IdentityDictionary.new; // should this be here? I guess so. plot.lastValueString = nil; plot.startX = x; - plot.isActive = true; + //plot.isActive = true; + plot.resume; // The above is illegal ev.plotCleanupFuncs.add { plot.plotIDs.debug("plotPart cleanup [plotspec %]".format(i)); plotEnd.value(plot, x);