New Post: Error when play/stop recording
Because of my karaoke scenario I need to Init my playback device every time with a new recorder stream because I need this recording with a particular level of volume to be mixed later. The exception...
View ArticleNew Post: NAudio comparison with BASS .NET
Hi, thank you for this library - it is awesome. I'm going to create an application that will play internet radio streams. I have several URLs of the radio streams to test - BASS library supports all...
View ArticleNew Post: When playback ends
markheath wrote: it may be that the waveprovider you gave to waveOut never stops returning data from the Read function. this is quite possible as some streams pad with zeroes. you can simply test it by...
View ArticleNew Post: NAudio comparison with BASS .NET
NAudio has support for decoding MP3 frames using ACM or DMO codecs, and there are some WMA classes that might be usable for streaming. There is unfortunately no AAC support. For OGG, there are some...
View ArticleNew Post: NAudio Reference
NAudio has XML documentation on all public classes and methods, but this hasn't been compiled into a separate document unfortunately. Mark
View ArticleNew Post: Error when play/stop recording
you can only call Init once on a playback device. The best approach for you might be to create an IWaveProvider that reads from a source that you can swap out. Remember though that you can't change the...
View ArticleNew Post: NAudio Recording Performance
ASIO recording has not yet been added to NAudio. I hope to do that in the near future (it is not a particularly big change)
View ArticleCommented Issue: WaveFileChunkReader.ReadWaveHeader assumes that the stream...
I am using this class to read a wave stream but the derived stream class that I am using that contains the wave does not support setting the Postion (CanSeek == false). public void...
View ArticleNew Post: Using WaveOutEvent to playback in a cycle
thanks for this suggestion. I'll try to get something like this incorporated in for a future version. Probably WaveInEvent would need a similar fix
View ArticleNew Post: NAudio audio conference
echo is a big problem when doing audio conferencing. you either need to listen on headphones, or to add an echo suppression algorithm (which can be tricky to write). Skype for example has built in...
View ArticleNew Post: NAudio Reference
I see, Mark. So It's much better work with Source rather than compiled .dll I'd like to put my hands on explore and generating Sounds. An old vague quirk since I got half deaf. Thank you. dan
View ArticleNew Post: NAudio Reference
Visual Studio will show the help as intellisense, so long as the NAudio.XML file is in the same folder as NAudio.dll
View ArticleCommented Issue: WaveFileChunkReader.ReadWaveHeader assumes that the stream...
I am using this class to read a wave stream but the derived stream class that I am using that contains the wave does not support setting the Postion (CanSeek == false). public void...
View ArticleCommented Issue: Bug in the NotifyingSampleProvider class [16355]
The NotifyingSampleProvider class notifies also on non read samples because it uses the "sampleCount" variable which is the size of the incoming buffer. However the amount of bytes read may be smaller...
View ArticleSource code checked in, #5019c8f1c6fc
fixing issue 16355, bug in NotifyingSampleProvider
View ArticleCommented Issue: Bug in the NotifyingSampleProvider class [16355]
The NotifyingSampleProvider class notifies also on non read samples because it uses the "sampleCount" variable which is the size of the incoming buffer. However the amount of bytes read may be smaller...
View ArticleNew Post: Copying files and "file is being used by another process" problem.
are you sure you're not trying to create the same file twice?
View ArticleNew Post: When playback ends
the playback stopped event will only fire when playback actually stops. If you send in a never-ending stream you would instead check on a timer if the current position was greater than the length of...
View ArticleNew Post: Error when play/stop recording
I made custom WaveRecorder with BeginRecording and EndRecording methods, so I can control when the stream is written to the disk. Thus I call Init just once with one instance of my custom WaveRecorder....
View Article