New Post: Wavein vs WaveinEvent?
Oh, well whatt am i supposed to use then, i only know, Wavein, Wasapi and ASIO, and ASIO is of course the fastest, but i can´t use it.? Though, i wonder, is it possible to use 2 ASIO drivers at the...
View ArticleNew Post: WASAPI Capture?
1) the latency isn't as easily configurable as I would like in the current WASAPI implementation, but if you examine the code, you'll see how it could be done. 2) microphone are usually mono. If you...
View ArticleNew Post: Udp Byte - Send and Recieve (Play and record).
Changing the device will inevitably introduce some delay, unless you open the new one concurrently and only close the old one once the new one has returned its first buffer of audio.
View ArticleNew Post: WASAPI Capture?
Okay, well i probably woudln´t understand the code;P And yes, i solved it by using MonotoStereo, which is nicely implemented. Probably, but i have gotten pretty good results, and as bad as i am with...
View ArticleNew Post: Udp Byte - Send and Recieve (Play and record).
I think i actually solved it, the problem was that i forgot to set the sourceStream.Buffermilliseconds = (what i wanted). It changed to 100ms as default. And i also added Waveprovider (which is played...
View ArticleNew Post: Crossfading, how?
Okay thanks, but what about the closing/disposing of it all between the song change? :)
View ArticleNew Post: Wavein vs WaveinEvent?
Not sure. It might be that the message queue is not getting serviced, or it might be that the garbage collector is running
View ArticleNew Post: Wavein vs WaveinEvent?
What can be done about that? As it goes away with WaveinEvent, but that causes a big latency change weird enough. My program is probably very unoptimized though, but i really have not clue here. Is it...
View ArticleNew Post: WasapiLoopback to 16bit?
How to i convert WasapiLoopback to 16bit? I know NAudio got something like this built in, but i don´t know how to use it for this. Thanks.
View ArticleNew Post: mp3 streaming server
Hi, there's an mp3 streaming demo which, however, shows the client side. I wonder how one would get started doing the server side. I have simple piece of code that plays a looping mp3 file. But, when I...
View ArticleNew Post: Small Stuck(jerk) when Playing Audio File
you can get or set buffer size on the WaveOut object. It's a public property
View ArticleNew Post: mp3 streaming server
the server side is an internet radio server. You could I suppose create a timer to send out a seconds worth of audio each second or something like that. But that's a bit beyond the scope of what I...
View ArticleNew Post: Crossfading, how?
when the fadeout has ended, you'd need to dispose the file that had just finished playing and remove it from the mixer inputs. This will require you to make your own ISampleProvider for crossfading....
View ArticleNew Post: mp3 streaming server
markheath wrote: If you follow the documentation tab there's links to various articles about NAudio. It's something that I know NAudio could be better at, but it is just a spare time project, and I...
View ArticleNew Post: mp3 streaming server
sure, no problem, just trying to manage people's expectations ;). I'm actually creating some training videos for Pluralsight at the moment. The first was released yesterday - Digital Audio...
View ArticleUpdated Wiki: Documentation
The NAudio Documentation WikiNAudio FAQWhat is NAudio?NAudio is an open source audio API for .NET written in C# by Mark Heath, with contributions from many other developers. It is intended to provide a...
View ArticleNew Post: WasapiLoopback to 16bit?
there isn't a one-liner as it really depends what you are doing next with the audio (e.g. writing to file, putting into a buffered wave provider). The manual way is use BitConverter.ToSingle on every...
View Article