Quantcast
Channel: NAudio
Browsing all 5831 articles
Browse latest View live
↧

New Post: Network Chat Multi-Client Program

well if you're mixing them with a MixingSampleProvider, then you need to create an intermediate stream between the BufferedWaveProvider and the Mixer so that it can return 0s in its Read method while...

View Article


New Post: IWaveProvider - streaming 16Bit PCM audio

great, glad you worked it out

View Article


New Post: Sample Aggregation For WASAPI Loopback

Is it possible to use the event driven mode with loopback capture? Working through how you have implemented it in WasapiOut the audioClient can only be initialised with either...

View Article

New Post: Play same file multiple times using WaveOutEvent

Hello sir, I tried using AudioFileReader in the way that you suggested and it is working as you said. That means re-positioning to the start should work for me. So I was trying to find out what is...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

NAudio Overview NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET. It has been in...

View Article


New Post: Sample Aggregation For WASAPI Loopback

they are flags, so you would OR them together

View Article

New Post: Play same file multiple times using WaveOutEvent

can you try the fix suggested here, and see if that resolves it for you?http://naudio.codeplex.com/discussions/357995#post844154 It's something on my TODO list for NAudio 1.7, but I've not got round to...

View Article

New Post: If signal is already stereo, how do I pan left/right?

I was using the PanningSampleProvider to convert a mono to a stereo output, so I can pan left/right audio. If the signal that is coming in is already in stereo format (i.e., it already has two...

View Article


New Post: If signal is already stereo, how do I pan left/right?

PanningSampleProvider expects a mono input. When you have a stereo signal, panning gets complicated. Does it just adjust the volumes in the left & right channels (a balance control), or can it...

View Article


New Post: Code example of using FFT on a live audio stream

Does anyone have any example code of how to use an FFT on a live audio stream. I know I need to put the code into "frames" but don't know how to go about doing that. A simple example would help a lot.

View Article

New Post: Network Chat Multi-Client Program

Are there any samples from the naudio demos that deal with adding intermediate streams? I'm confused how adding another stream would work if I've already added a client's waveprovider to the...

View Article

New Post: How to create multi-channel (5.1) wma with NAudio in c#

I have a C# project that can create 6 mono wav files. How to import these 6 mono wav files to create a multi-channel (5.1) WMA audio with NAudio? Many thanks in advance.

View Article

New Post: How to create multi-channel (5.1) wma with NAudio in c#

MultiplexingWaveProvider can join them all together into a single 6 channel file. Then you'd need to pass that into the WMA Encoder. I've never done 5.1 encoding though, so I have no idea whether other...

View Article


Source code checked in, #b67d20a2915e

support for focusrite Scarlett 2i4, which has a problem calling ASIOgetLatencies function

View Article

New Post: Sample Aggregation For WASAPI Loopback

That's ok, just double checking! I have tried to implement the event driven mode into WASAPI Capture (plus loopback), see my franken-code below. But for some reason WaitHandle.WaitAny under the...

View Article


New Post: Determine which mp3 files are silent with NAudio?

Mark, Thanks for the reply. I wanted to write my understanding of what you've written and if you don't mind correcting me if I misunderstand, I'd appreciate it. So, calling AudioFileReader.Read() fills...

View Article

New Post: Play same file multiple times using WaveOutEvent

I will try the suggested fix but could you please help me to clear my previous doubt (last para in my previous post).

View Article


New Post: Play same file multiple times using WaveOutEvent

I tried the suggested fix, its working fine but we will force callbackEvent to go in signaled state each time when a new PlaybackThread is started which is not necessary if Stop was called previously...

View Article

New Post: Determine which mp3 files are silent with NAudio?

AudioFileReader implements ISampleProvider, so you should call the overload of Read that takes a float array and you'll have sample values already. And yes, true silence should be 0.0F for very value...

View Article

New Post: Sample Aggregation For WASAPI Loopback

I'd check the Initialize parameters are right (there is a 0 that might need a different value) http://msdn.microsoft.com/en-gb/library/windows/desktop/dd370875%28v=vs.85%29.aspx there are some code...

View Article
Browsing all 5831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>