I’m teaching myself OM and getting back into LISP. I have written a recursive patch to apply a list of intervals to a root note several times. It works sometimes, but not others. I’m trying to trace the values inside the recursive patch, but if I add LISP print commands, I see nothing. The patch is attached, showing where I’d like to print. What am I missing here? The inputs are: 0 - the root note, 1 - the number of repetitions and 2 - the scale that is being built (initially nil).
build-diatonic-2.omp (5.09 KB)