I don’t really understand what you wrote, I’d suggest you open a separate topic.
I’m not sure you actually benefit from AudioSuite CHostProcessor workflow.
Anyway,
There are examples of writing to file such as:
Beware of blocking threads. but please open a separate issue for your specific topic.