Converts from pitch space to midicents. pitch space: middle C = 0, octave/N = 1 midicents: middle C = 6000, semitone = 100 The modulus N defaults to 12 but is an optional parameter that can be set to other values.