I would also suggest this as a possible point of interest - I wanted something when the interpolation time was variable as well. For example, when I turned my rotary control just one notch after a certain period of inactivity, I didn't want it to have the same quick interpolation time as when I was making more dramatic gestures. I implemented a [timer] object with two [spigot]s flicking back and forth to its inlets to see how long it was taking between the last value change, and set this as the interpolation time for [line~], but [clip]ped the min/maximum interpolation time to between 10 and 1000 ms. In this way, faster gestures would respond quickly and not suffer the lack of responsiveness caused by a lengthy interpolation, and small gestures taking a long time between changes would transition more smoothly instead of jumping with an interpolation time that was too short.
Depending on context, this may or may not be useful :)
I hope this makes sense! Kevin
On 9/15/07, Kyle Klipowicz kyleklip@gmail.com wrote:
I would do as suggested by Frank but add also:
[/ 127] | [float \ (here you can set the interpolation time in ms) | / [line f 200] | [any object from the mapping library]
The mapping library has some great curves that are normalized to the interval [0, 1]. This way your interpolation can be less linear if you wish to have a more exponential or other sort of curve.
~Kyle
On 9/15/07, Frank Barknecht fbar@footils.org wrote:
Hallo, Conor J Curran hat gesagt: // Conor J Curran wrote:
does anyone know of a midi interpolator object. A external which will extend the range of midi from 0 .. 127 to for example 0 .. 1000 by interpolating between the values in pd. Obviously introducing a one 'value' delay but overall giving the expression a finer resolution. Linear interpolation would do fine? Any ideas?
[/ 127] | [* 1000]
?
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
--
http://perhapsidid.wordpress.com http://myspace.com/kyleklipowicz
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list