This example shows a simple mechanism for rendering audio streams to soundfiles. The topic and this example are detailed elsewhere.
Right-click to copy examples to your workspace
Because the example is detailed elsewhere, we spare you the trouble of reading about it here.