How to Add WPFSoundVisualiztionsLib Controls to Toolbox?

Mar 31, 2011 at 5:51 AM
Edited Mar 31, 2011 at 5:58 AM

Hello

How do you add the WPFSoundVisualiztionsLib Controls to Toolbox, as appears in the WPF Components under the Choose Toolbox items and are ticked, however, does not appear in the Toolbox.

Thank

 

Coordinator
Apr 4, 2011 at 12:49 AM

I'll add this to the documentation, but here's what you need to do:

1.) While in design view, right click on your toolbox and click "Choose Items..."

2.) Click the "WPF Components" tab.

3.) Click "Browse"

4.) Browse to "WPFSoundVisualizationLib.dll" and select it.

That should place the 3 controls in your toolbox if they are not already there.

Apr 4, 2011 at 5:30 AM

Hello

Thank you for your reply

Also while perhaps not related to your code of the sound Visulization, how can I obtain more “realtime” current positions, I require 50ms-100ms updates and the WPF seems to only updates in 500ms updates.

Thanks again

Alex

Coordinator
Apr 4, 2011 at 6:15 AM

If you're using the sound player in the examples, look for the line that says:

positionTimer.Interval = TimeSpan.FromMilliseconds(500);

Replace "500" with "50" or "100."