There are various ways you could do it. Seems to me that the simplest way is to record the output of curve~ into a buffer~ and view it with waveform~. This patch lets you try out various curve settings in the function object, and view the results (which should look the same as your function) in scope~ and waveform~.