Streaming sound with bass.dll?

BlitzMax Forums/BlitzMax Programming/Streaming sound with bass.dll?

[EDIT] The title is a bit misleading. I'm trying to synthesize sound on the fly with the cpu, not stream from the net[/EDIT]

This is possible I believe. Anyone got a relevant code example they can post?