abs_numpad-help.pd
abs_numpad.pd
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 (they may be added in the future) 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. I have tried to keep the patch pretty clean tho the logic is a Bit convoluted.
May you find a use for it.
Would love feedback on how to apply a NUMLOCK concept to it as well as the inlets (tho I don't think there really is too much use for that. More important would be taking out the globals and making it a true abs
Ciao for now.
Happy PD-ing and keep sharing your love of music,
Scott
afterthought: since it's using [v]'s and they are global as well as a named array it's really not an abstraction. But it's been my feeling not to post on the patch section unless my work is of a much broader nature. Thanks. Ciao for now. -s