[jitter] Implementing a 1D difference equation in Jitter
Joshua Kit Clayton
jkc at musork.com
Fri Jun 1 14:13:16 MDT 2007
- Previous message: [jitter] Re: Implementing a 1D difference equation in Jitter
- Next message: [jitter] Re: painting with feedback in jitter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 1, 2007, at 12:48 PM, Aaron Faulstich wrote: > Is there a simple way to implement difference equations with feedback > in Jitter such as: > > y[n] = (1/2)*(y[n-1]+x[n]) > > where y[n] is the output, and x[n] is the input. Sounds similar to jit.slide or jit.scanslide depending on whether you're filtering in time or in space, respectively. Use a slide factor of 2 to get the above formula from: y(n) = y(n-1) + ((x(n) - y(n-1))/slide) But otherwise, if these or other objects aren't suitable for your purposes, as Gregory mentioned, Java would work well (but don't use setcell/getcell. grab and set as an entire array, as the Jitter java examples illustrate). -Joshua
- Previous message: [jitter] Re: Implementing a 1D difference equation in Jitter
- Next message: [jitter] Re: painting with feedback in jitter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
