visualisation with bufferedwaveprovider?

May 8, 2011 at 3:39 PM

What is the easiest way to implement a visualazion with bufferedwaveprovider.

May 8, 2011 at 9:05 PM
Edited May 8, 2011 at 9:35 PM

Oo i found something ( ISampleProvider ) but I have one problem:

 

void LoadNextChunk(IWaveProvider sourceProvider, int samplePairsRequired);

 

How many samplePairsRequired?

EDIT:

ok i ve got a visualazion now but it doesn t look nice and it is 2 small : http://s1.directupload.net/images/110508/8pmffcae.png

because it should look like this: http://s1.directupload.net/images/110508/dck5vvmu.png

This is tested with the wavechannel32 but i cant impletment it into my new programm