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

Re: [sc-dev] phasor calcfunc



On Wed, Dec 23, 2009 at 9:52 AM, Scott Wilson <s.d.wilson.1@xxxxxxxxxx> wrote:
If it's audio rate and its first two inputs are control, use _kk (huh wtf?).

That's right. It will still calculate at audio rate, but it only needs to read the two inputs at kr. Remember the names are only to do with the inputs. ar vs kr is determined effectively by inNumSamples.

OK.
if its control rate, use _ak (again, huh?).

Won't do anything dodgy as inNumSamples is 1. 

I understand, though it does mean Phasor.kr uses more complex, less-optimized code than Phasor.ar with control rate inputs! That could be safely changed I think.

hjh


--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman