A device and/or system for generating arbitrary scalable waveforms of a desired shape that can be used for generating a stimulation pulse for medical purposes such as for spinal cord stimulation therapy, where scaling function(s) can be used to scale arbitrary waveforms for increased flexibility and which can also be used for charge balancing purposes as well.