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

RE: [sc-users] Fill array with UGen output



I have been working on the same thing bassically. I came up with 2 solutions. 1 indeed by using OSCresponder and SendTrig, but actually the one I ended up using was to just use a control rate bus to send my Ugen data to and then I build a loop with a Routine that accesses the bus with the .getn message and stores the data in an Array with a counter that gets incremented each time through the loop.
 
If you need more specific code, I can put up a short example.
 
Good luck,
 
gr.
 
Michael




From: josh@xxxxxxxxxxxxxxxxx
To: sc-users@xxxxxxxxxxxxxxxx
Subject: Re: [sc-users] Fill array with UGen output
Date: Sun, 28 Dec 2008 20:38:24 -0800

Take a look at OSCresponderNode and SendTrig. This would probably be the easiest way to do it (and access the values in the lang).

Best,

josh

On Dec 28, 2008, at 5:49 PM, Schell wrote:

Hi, I am wondering how to fill an array with the output of a control rate from a unit generator, possibly at pre-determined intervals [every 2nd, 3rd or 4th value]. Possibly a function that uses a ugen to return an array? I can't seem to achieve this on my own...

--
Schell Scivally
efsubenovex@xxxxxxxxx
http://blog.efnx.com

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/



Chat met al je vrienden. Nodig ze nu uit voor Messenger!