#N canvas 3 54 1351 686 10;
#X obj 55 24 abs_numpad;
#X floatatom 55 353 10 0 0 0 - - -, f 10;
#X floatatom 147 353 10 0 0 0 - - -, f 10;
#X floatatom 240 353 10 0 0 0 - - -, f 10;
#X text 328 23 "Numpad" Abstraction for entry of (large) numbers via
click instead of sliders (includes basic calculator) \; \; Really I
just wanted a control which I could enter numbers \, as the way things
go \, things sort got outta hand. Built an entire numpad controller
with / \, * \, + \, and - \, plus BACKSPACE and CLEAR(del) to emulate
a standard numpad. \; \; Reason being (besides needing it for another
project) \, it has always sort of irked me that I could not just type
in numbers. I have seen only maybe one or two controls which allowed
direct entry of numbers but they weren't exactly what I had in mind.
\; \; The abs has no inlets and the NUMLOCK does not (yet \; -) do
anything. \; \; It has three outlets which send (and it can be used
just for this very well) two outlets which operate on an x-y basis.
\; \; Enter a number for X then click enter \, and it sends it to the
left most outlet and immediately switches to y. (The currently selected
variable is highlighted in red). \; \; Enter another number and click
enter again \, and it sends that number to the middle outlet. \; \;
Then click a function and it is performed immediately f(x \, y) and
sent to the right most outlet. \; \; I suppose if you wanted just to
use it for entering x's and y's it would work really well for that
too. \; \; As to how its done \, the digits are stored in an array
and concatenated and passed back and forth between a few global variable
\, i.e. values. \; \; May you find a use for it. \; \; Would love feedback
on how to apply a NUMLOCK concept to it. \; \; Ciao for now. \; \;
Happy PD-ing and keep sharing your love of music \, \; Scott \;;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 0 2 3 0;
