New Post: How to get rid of the NAudio.MmException
what version of NAudio are you using? You shouldn't need the BlockAlignmentReductionStream or the WaveFormatConversionStream with the latest version.
View ArticleNew Post: How to play mp3 using AsioDriver and NAudio?
I see the exception An unhandled win32 exception occured in my application,i think i cause from NAudio, because in NAudio have some unmanage code, but now i reconize that it not cause by NAudi, the...
View ArticleNew Post: How to get rid of the NAudio.MmException
@markheath: Thanks for your reply. I just fixed the problem in my app. It seems I needed to check if the output is not null before I call the loadFile function. Anyways, speaking of the Naudio version,...
View ArticleNew Post: How to get rid of the NAudio.MmException
it is just that the latest NAudio's Mp3FileReader already converts to PCM, and already copes with non-block aligned reposition requests, making it more robust and easy to use out of the box.
View ArticleCommented Issue: Does NAudio can play multiple music to multiple channels of...
I want to write a program to play music, exactly is play multiple music to multiple channels of sound card simultaneously.Example in my PC have an internal sound card, and have an external M-audio fast...
View ArticleNew Post: reading the amplitude of a frame
thank you Mr Mark and thefiloe, I could finally read the data and that's what I wrote //the open file dialog //OpenFileDialog open = new OpenFileDialog(); BlockAlignReductionStream stream = null;...
View ArticleNew Post: Playing WMA
if MP3 and WAV are playing, then there is likely nothing wrong with your code and you have found a problem with WMA file reader (which is fairly new to NAudio and hasn't been extensively tested yet)....
View ArticleNew Post: recording synchronously from multiple microphones
it ought to work. Have you tried it using window callbacks instead of function callbacks?
View ArticleNew Post: How to play mp3 using AsioDriver and NAudio?
it depends on your soundcard drivers - they may not allow you to open WaveOut with multiple outputs. But if you can open with 3 or four channels, then you would need to make your own derived...
View ArticleCommented Issue: sf2 samples 4 bytes too early? [16338]
hi,dunno if this is a current issue anymore or if it's really really the case at all in your software:using the sf2 part of your software (the renoise tool "sf2xrni" uses it), the first sample (some...
View ArticleNew Post: Possible fix to WaveformPainter? when resizing...
thanks, I've put your fix into the latest source code. That class could do with a proper cleanup in the future, as I still don't think it is thread safe, but this should at least sort out your issue Mark
View ArticleCommented Issue: Does NAudio can play multiple music to multiple channels of...
I want to write a program to play music, exactly is play multiple music to multiple channels of sound card simultaneously.Example in my PC have an internal sound card, and have an external M-audio fast...
View ArticleNew Post: How to set volume of Wave in
Sorry, How can I set recording volume with Naudio.dll? Is there an API for this request? Thx
View ArticleNew Post: How to set volume of Wave in
you use the Mixer API to do this, but it can be a real tear your hair out experience trying to work out which the right mixer control to tweak is.Code that works on XP doesn't work on Windows 7 and...
View ArticleNew Post: Timer in NAudio
I try to develop school bell application using NAudio with timer. I compare the timer with data stored in database. Here the code ( I take code from the example from NAudio): Private Sub...
View ArticleNew Post: Playing WMA
[quote]if MP3 and WAV are playing, then there is likely nothing wrong with your code and you have found a problem with WMA file reader (which is fairly new to NAudio and hasn't been extensively tested...
View ArticleNew Post: recording synchronously from multiple microphones
Window callbacks generated some other errors. What I have learned from MSDN for System.IO.Stream is "public static (Shared in Visual Basic) members of this type are thread safe. Any instance members...
View ArticleNew Post: recording synchronously from multiple microphones
WaveFileWriter is perfectly thread safe so long as you write to it from the same thread. This will definitely be the case with windowed callbacks, and also I expect function callbacks will be the same....
View ArticleNew Post: Timer in NAudio
If I understand what you are trying to do, then something like this should work. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Label1.Text =...
View Article