Play a custom waveform

I want to build a laser scanner and directly play the waveform that a certain surface reflects.

Please see the picture to see what I mean.

I think I can do steps 1 to 3 somehow in vvvv but I really wonder how I can just play a custom waveform through audio out as in step 4?

laser-sound.jpg (30.4 kB)

thats what SourceBuffer (DShow9) is supposed to do…

right… thanks. it’s sometimes hard to find the right node.