Pitch follower

Hey all,

Is there any theoretical way to wrangle a track output-based pitch-follower together using vanilla Renoise, maybe with Lua to fill the gaps? The ideal output would be a single number representing a pitch that one could throw at e.g. that wonderful portamento doofer.

I don’t see anyway of getting access to an audio stream of a track in realtime. Unless routing it to a virtual audio cable and into another software… but that’s going down a very far fetched road.