toPitchesArray

Get pitches as a FloatArray (for compatibility with internal APIs).