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

New Post: WaveIn Valid Sample Rates

Ok thanks Mark. It's not a big deal. Low values (like 8-bits / 8K sample) make the output hiss a little and lowers quality (as expected), but that's the worst that happens. My USB headset microphone...

View Article


New Post: MidiOut is not working

I want to play MIDI sound out to speaker.

View Article


New Post: MidiOut is not working

MIDI doesn't make any sound on its own, it needs to be connected to a synthesizer. What is connected to MIDI out device 0?

View Article

New Post: WaveIn Valid Sample Rates

You better don't use that extremly low latency values. I guess you can't really do anything against that little delay. You really would have to play it in the exactly same millisecond as you say it.

View Article

New Post: WaveIn Valid Sample Rates

Thanks filoe. I know .Net isn't the best at timing. The Forms Timer is only accurate to 55 milliseconds which seems like a life-time in CPU instructions. But it is what it is.

View Article


New Post: WaveIn Valid Sample Rates

it's not .NET, its the waveIn and waveOut APIs. They are not particularly low latency. You need to work with WASAPI or ASIO to go to lower latencies.

View Article

New Post: WaveIn Valid Sample Rates

Ok, thanks Mark, good to know. I'll keep that in mind. I want to stick with WaveIn/Out for now because I have XP users. And XP is still 40% of the OS marketshare -- too big to ignore.

View Article

Source code checked in, #e1a677786346

improved the decode code in the ACM demo panel

View Article


New Post: Stream WAV File

I am trying to figure out how to stream a WAV file. There are examples on stream MP3 files but nothing for a WAV file. I have managed to create a WaveStream and play it back. However, when I try to...

View Article


New Post: Mixing audio from directshow

I know this is several years old now, but I am trying to do the same thing. I have a new thread: http://naudio.codeplex.com/discussions/435595

View Article

New Post: Stream WAV File

Bump!

View Article

New Post: Stream WAV File

I'm not sure what you are trying to do here. Why not just play directly from a WaveFileReader? If you are receiving WAV over the network, then just stick it into the BufferedWaveProvider (and increase...

View Article

New Post: Stream WAV File

I am trying to simulate my network traffic before I go off an code that part. I should be able to read bytes from a queue and add them to my WaveProvider continously.

View Article


New Post: Stream WAV File

I figured it out. The problem was in the AddAudio method. If I use this method it works: private void AddAudio(WaveStream convertedStream) { int sampleRate = convertedStream.WaveFormat.SampleRate; int...

View Article

New Comment on "WAV"

This worked for me to play a wav file: using NAudio.Wave; ..... var soundFile = "Something.wav"; using (var wfr = new WaveFileReader(soundFile)) using (WaveChannel32 wc = new WaveChannel32(wfr)...

View Article


New Post: How to user StereoToMonoProvider

I am trying to get SteroToMonoProvider to work. So have I have there working.private WaveFormat _waveFormat = new WaveFormat(44100, 16, 2); _waveProvider1 = new BufferedWaveProvider(_waveFormat);...

View Article

New Post: How to user StereoToMonoProvider

that's because it's mono. Mono is the same in both speakers. You want to go mono to stereo instead.

View Article


New Post: How to user StereoToMonoProvider

So I switched to use a MonoToStereoProvider class and get the "Source must be Mono"?

View Article

New Post: How to user StereoToMonoProvider

yes, MonoToStereo takes mono in and gives stereo out. You want stereo in and stereo out,, but with the channels swapped about a bit from the sounds of it. You'd need to make a custom provider to do that.

View Article

New Post: How to user StereoToMonoProvider

Yeah I want to take a stereo input and then only hear the left or the right channel. Do I need to create a provider to do that?

View Article
Browsing all 5831 articles
Browse latest View live


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