This seems to be a strange parsing error. I want to use the duration of a single audio sample in instrument code so I use this line:
iSampDur = 1/sr
This seems to change the sample (
sr) rate to 1. Printed to the console is:
sample rate overrides: esr = 1.0000, ekr = 0.0156, ksmps = 64
sr from the Csound orchestra confirms this.