nuss / conductor Goto Github PK
View Code? Open in Web Editor NEWA clone of Ron Kuivila's Conductor Library for SuperCollider, enhanced with fixes for SC 3.7 and higher
A clone of Ron Kuivila's Conductor Library for SuperCollider, enhanced with fixes for SC 3.7 and higher
I started to play around with your version of the Conductor quark. I realized that there is a problem with the EnvelopeViews under QT.
because (QT)EnvelopeView does not implement curves it returns the envelopview itself.
Thats why the setting of curves has to be removed.
viewToEV { | view |
var t, l, c, env;
env = value;
#t, l = view.value;
env.levels = spec.map(l);
env.times = t.differentiate[1..] * duration;
//env.curves = view.curves;
this.changed(\synch, this);
}
because the envelop view doesn't provide a facility to change the curves it shouldn't matter.
and a the following is a test case. when you change the envelop in the gui you get an error.
(
c = Env.perc;
a = EV();
a.input = c;
a.value.times.debug(\t1);
a.value.levels.debug(\l1);
a.value.curves.debug(\c1);
b = EnvelopeView(w, Rect(0, 0, 230, 80))
.drawLines_(true)
.selectionColor_(Color.red)
.drawRects_(true)
.resize_(5)
.step_(0.05)
.action_({arg b; [b.index, b.value].postln})
.thumbSize_(5)
.value_([[0.0, 0.1, 0.5, 1.0],[0.1,1.0,0.8,0.0]]);
a.connect(b);
b.front;
a.value.times.debug(\t2);
a.value.levels.debug(\l2);
a.value.curves.debug(\c2);
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.