Building A Pitchshifter Into The Custom Wave Generator

i have decided that i want to start learning this scripting stuff now that its available in renoise

i have never done any scripting/programming before so i need to start with something small(thinking on "hacking"some of the already available tools for personal use,atleast untill i know what im doing

im thinking would it be hard to "build"a pitchshifter into the custom wave generator??

at first i was thinking on "copying"the pitchshifter from suvas script into the wave generator script,but maybe thats not the best way of learning how it works

and dont know if it would work either

im gonna read all the documentation there is included in renoise,before i start hacking,hopefully i cant destroy renoise completly