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

Re: [sc-users] arguments of a running synth



do you mean something like this?


a=(amp: 1,freq:20000)
a.at(\amp)
a.at(\freq)

a is a event
you can exess the values with a symbol

in your case something like this

synth.set( \ausschlag,sli5.value.linlin( 0, 1, 0,
(amp: 1,freq:20000)[\amp]))

but ausschlag is always the same argument in the synth you should maybe write

(
b=\amp
synth.set( b,sli5.value.linlin( 0, 1, 0,
(amp: 1,freq:20000)[b]))
)



Björn Kessler wrote:
Hi again,

I would like to make a slider thats range changes in dependence of a argument of the synth:

sli5 = GUI.slider.new( win, Rect( 130, 10, 20, 240));
sli5.action = { synth.set( \ausschlag,
    sli5.value.linlin( 0, 1, 0, [argument of the Synth] // **

));
};

** \freqGrund is an argument of the Synth synth. I tried something like synth.value( \freqGrund )

Sorry if it is a fundamental thing!

Thanks in advance,

Björn

------------------------------------------------------------------------
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail <http://de.rd.yahoo.com/evt=40591/*http://de.docs.yahoo.com/ymail/landing.html>.


------------------------------------------------------------------------

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users