Page 1 of 1

Numpad object and value fields

Posted: 31 Jul 2015 18:31
by cloud_canvas
I've seen a few people talk about this in the context of sending MIDI Program Change messages. It seems silly that a workaround would be necessary to accept numerical user input. I get that you're opening a can of worms by just allowing plaintext fields and spawning a touchscreen ASCII keyboard and such, but a simple numerical entry object shouldn't be a big deal.

It could take an argument for the maximum number of allowable digits in your value and have erase/backspace, increment, and decrement buttons. Then it would simply write that value to the object's x parameter for use in either OSC or MIDI.

Re: Numpad object and value fields

Posted: 31 Jul 2015 19:14
by ndivuyo
While you are waiting, you could pretty easily make this with even a pad object with some user defined functions and expression

even better and maybe easier, just make a canvas object, then you can even have a little display for your current value
then you could make it a calculator too haha

Re: Numpad object and value fields

Posted: 05 Aug 2015 18:52
by ndivuyo
Well, for some reason I got in the mood to make one today haha.

I think it does what you wished for, and the 'x' variable is the number typed

Here it is:
https://forum.liine.net/viewtopic.php?f=34&t=5090