[Csnd] GEN51 and cpstun

Hey hey,
I just played with cpstun. In its reference manual entry it says that tuning tables should be create with GEN02:
https://csound.com/manual/cpstun.html
However, in the manual entry for GEN51 it says that it is compatible with cpstun:
https://csound.com/manual/GEN51.html

Using a GEN51 with cpstun does not yield the expected results though. Using GEN02, as suggested in the cpstun documentation works perfectly.

Is that an error in the documentation or the opcodes/GEN routine?

Best wishes,

Jeanette

Well… if you read carefully, it says ‘in the manner of’, which admittedly is a bit open to interpretation…
GEN 51 fills a table with raw hz values using arguments to the Gen routine in a similar way that arguments are used by the cpstun opcodes.