Hi all, 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?
Good weekend all, Conor
Conor J Curran wrote:
Hi all, 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?
A multiplication and a fast line (probably line~) object worked for me.
Cheers,
Malte Steiner media art + development -www.block4.com-
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]
?
Frank Barknecht _ ______footils.org_ __goto10.org__
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
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
Hey Kevin
I've used [smooth] (is it from PixelTango maybe?) for the same effect (if I'm understanding you correctly). Basically it's a lop~ with a snapshot~ - so like a control rate filter. Really natural response - I like it a lot.
cheers dafydd
On 9/15/07, Kevin McCoy km.takewithyou@gmail.com wrote:
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.
Hey Kevin
I've used [smooth] (is it from PixelTango maybe?) for the same effect (if I'm understanding you correctly). Basically it's a lop~ with a snapshot~ - so like a control rate filter. Really natural response - I like it a lot.
cheers dafydd
On 9/15/07, Kevin McCoy km.takewithyou@gmail.com wrote:
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
--
++++ http://pocketkm.blogspot.com _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list