[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Fwd: chaining effects did this mail appair on the list ?





Begin forwarded message:

From: Nicholas Bussmann <sc@xxxxxxxxxxxxxx>
Date: Mi Dez 25, 2002 1:19:58 Uhr Europe/Berlin
To: sc-dev@xxxxxxxxxxxxxxx
Subject: chaining effects

hello hello

I got a bit time to check out sc3. It looks great and I'm stucking with a problem.
Maybe there is an easy solution. I asume you have the Synth Definitions.
the problem: the nodes don't get chained the way I want them to.
If you put in the effects first and after that the source in the first place everything works fine. It's just not possible to replace the effect with a new one.

all the best nicholas

//Böllerschüsse in Freiburg an Heiligabend


// create an array of buttons.
var w,name;

s.boot;


name = ["tish","moto-rev","echo","reverb","stop"];

w = "button panel", Rect(128, 64, 340, 360));
w.view.decorator =t = FlowLayout(w.view.bounds);


t.nextLine;

5.do({ arg i;
c = SCDragSource(w, Rect(0, 0, 75, 24));
c.string = name.at(i);
c.beginDragAction = { arg view; name.at(i); };
});
t.nextLine;




d = SCDragSink(
w, Rect(0,0, 75, 24));
d.string = "Sink ";
d.action = { if (d.object == "stop",{
s.sendMsg("/n_free", 1001)},{

if (d.value != nil, {
s.sendMsg("/n_free", 1001);
s.sendMsg("/s_new", d.object, 1001, 0);
})
});
};




v = SCStaticText(w,Rect(0, 0, 75, 25));
v.string = "trigger";
t.nextLine;


e = SCDragSink(
w, Rect(0,0, 75, 24));
e.string = "Sink ";
e.action = { if (e.object == "stop",{
s.sendMsg("/n_free",1002)},{

if (e.value != nil, {
s.sendMsg("/n_free", 1002);
s.sendMsg("/s_new", e.object, 1002, 0);

})
});
};
w.view.background = Color.rand;
w.front;

Nicholas Busssmann
Auguststrasse 10
10117 Berlin
http://www.studiobeige.de
++49-30-47306119


Nicholas Busssmann
Auguststrasse 10
10117 Berlin
http://www.studiobeige.de
++49-30-47306119