[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] controlling an array of synth with an array of moving points
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] controlling an array of synth with an array of moving points
- From: adam sanches <adam.sanches@xxxxxxxxx>
- Date: Wed, 22 Sep 2010 02:28:32 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=mJ6flvvB+0vfo8+up7DJzgirudmXyn/EuBxKCUrvuT0=; b=BQHldfYgRRTj0xhkvkK9UCvlelLFi68jM0Ss88wZ2aS7BGLhlpwp1wPuJVJJVQjcEX BfkbpykDzZOONundZ8619f8LurmCn8ctqFmelpApPFcLC0UHe6r4+MHkwkm9wIwpA2FQ d76EDlnftRSzKNaCQS9wLR+HLbw/bbZbtPAtk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q/KlfZTyk7C0QWpBSoRntALd6m6Lpsd3WSfS/KuQyWtYSiFQkA67SOjiYaoMexzANG Vkk4Y79ltM4sSU1+ZrqsnhNcFUjdA4Sv0afp6Lrm9xTF/AFWEliNmLBBluc289C4kz+H vKHTUz24i9nLbqFa6r6mtnmopDhg7KkauTjZk=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Hello, one easy question , if i have 2 arrays, one storing synths and the other storing moving points, what would be the best way for controlling the synths frequency with the position of the moving points?
a= { Synth(\sound, [\freq, 300] )}.dup(3); //array with synths
d= {500.rand@xxxxxxxx}.dup(3); //array with points
//move points
d= d.collect{|point|
point+(4.rand - 1@xxxxxx - 1);
};
thanks
A.