[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] NamedControl
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] NamedControl
- From: Sciss <contact@xxxxxxxx>
- Date: Thu, 23 Jul 2009 21:04:34 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1248375875; l=716; s=domk; d=sciss.de; h=Date:Subject:From:To:Content-Type:Content-Transfer-Encoding: Mime-Version:X-RZG-CLASS-ID:X-RZG-AUTH; bh=jI3pymHmHk0DPLt2G147qB+cuPs=; b=otTrFIU5oeTIsObFs/7f9Z/shUDfx/wqtjqCGS77CoKX/lN+nlzE6tgopENwsaAinbr 4AUnjcK28M481GSkkwr2jcjfl+jadp9XUHfweqzlJ4FDIOJzisJW2e88Q2NcQe1gdxBd1 EA016CK82stBHs0siqoUcc7OwK0CdrNK8rs=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
hi,
i am trying out NamedControl the first time instead of ControlName. i
think the return values are highly obscure:
(
a = {
var x, y;
x = NamedControl.kr(\freq, 440 );
y = NamedControl.kr(\freq, 440, 1);
x.postln;
y.postln;
SinOsc.ar([x, y] * [2, 1.2]) * 0.1
}.play;
)
in both cases you get an array even though the arguments are not
arrays. this is counter-intuitive regarding usual multichannel
expansion. accordingly, i get really strange results when putting
this into GVerb.ar.
in the second case, it's even more strange as the result is a nested
array.
i will do .asArray.flatten.at( 0 ) for the moment, but i guess this
is not as it was meant to be ?
ciao, -sciss-
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/