-ndm0 pyinit instr 1 ;assign 3/2 to the python variable "x" pyassigni "x", 3/2 endin instr 2 ;calculate cent distance of this proportion pyruni {{ from math import log cent = log(x,2)*1200 print cent }} endin i 1 0 0 i 2 0 0 ;example by joachim heintz