[chuck-dev] RK4 - ODE

David Michael david.michael at gmail.com
Tue Dec 12 17:14:20 EST 2006


I am interested in writing a Runge-Kutta ugen for numerical
integration. A few questions before I dive in...

1) Has someone out there already written one?
2) Will the performance of this Ugen be good enough to even attempt
this? (ChucK is quite slow at runtime)
3) Is a ugen the proper place to do this processing - perhaps I need
to write another sort of object?

My thought is that a class using this ugen would be advancing
something like 1::sample => now, and the output of the ugen could sent
to the dac...
The ugen would need accept arrays and output arrays... is this possible?
And what about the function it will need to perform the operation on?
Can this be fed into a ugen?

Thoughts on how this would be possible?

Thanks in advance,

More information about the chuck-dev mailing list