Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions AlgoScore2.quark
Original file line number Diff line number Diff line change
@@ -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"
)
9 changes: 6 additions & 3 deletions classes/PatternPlotter.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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|
Expand Down Expand Up @@ -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);
Expand Down