This project has moved. For the latest updates, please go here.

I'm lost, help appreciate

Feb 3, 2016 at 10:49 AM
Hello, I m very lost using this great lib.

I have 4 buttons.
When i click to a button, it plays sound using WaveOut.

I m playing a background sound too using another Wave out.

I m trying to record only sounds produce clicking button (like a piano)

Someone can guides or help me with this issue please ?
Coordinator
Feb 4, 2016 at 1:19 PM
one approach is to use just one WaveOut whose input is a MixingSampleProvider. Then whenever you click the button, you add a new input to that MixingSampleProvider. Then you could use a SavingWaveProvider approach I discuss here to save the audio.
You'd need to make sure not to create a huge file though, and stop writing to WAV once the sounds were complete
Feb 5, 2016 at 10:15 PM
I m trying using MixingSampleProvider and BufferedWaveProvider but i need to play (listen) when I add to MixingSampleProvider

Do you have something like a BufferedMixingSampleProvider ?
Feb 5, 2016 at 10:33 PM
Is it possible to combine 4 BufferedWaveProvider into a mixingsampleprovider ? or something like this ?
Coordinator
Mar 8, 2016 at 2:44 PM
Yes, put them through a WaveToSampleProvider and then they can be added to a MixingSampleProvider assuming they all share a common format