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

New Post: Small Stuck(jerk) when Playing Audio File

Hi Sir, Thanks for your response, I was using WaveStream, WaveOut as output, please tell me, how to increase buffer size... Thanks & Regards, Hinshin

View Article


New Post: Cue Points

Probably the simplest way is just to have a timer that ticks a few times a second and sees what the current playback position is. Then you can update the display to show whatever is needed. The...

View Article


New Post: Memory used by Startrecording function

Don't try to use WaveIn with only 1 buffer. You need at least two. Also, are you familiar with the way the garbage collector works in .NET? WaveIn does not store historical recorded data anywhere.

View Article

New Post: streaming real time audio from bluetooth stethoscope

no need to create another thread. Just use WaveOutEvent and call init and play before going into your receive loop. I'd also stick a few seconds of silence into the BufferedWaveProvider to start off,...

View Article

New Post: Udp Byte - Send and Recieve (Play and record).

I would suggest looking at the NAudioDemo source code. In particular the network chat demo which does exactly what you are trying to do.

View Article


New Post: Crossfading, how?

And how is i supposed to clean up correcly? I sometimes get a "dispose not called"if (waveOutDevice != null) { waveOutDevice.Stop(); waveOutDevice.Dispose(); waveOutDevice = null; } if (waveChannel !=...

View Article

New Post: Crossfading, how?

did you Dispose your mp3filereader? Also, what version of NAudio are you using? Only the debug build reports dispose not called issues And Mp3FileReader already returns 16 bit PCM, so no need for the...

View Article

Commented Issue: ComException when unplugged playback device [16329]

When playbackdevice disapears from windows playback devices (when user unplugs device from usb or audio jack port or disable it) while playling file, an COMException occrus in...

View Article


New Post: ASIO Input Datavilable (What to write here?)

Well it is my soundcard that does the playback. But i "solved" it, by saving the incoming audio through udp (it´s from my network chat application). So well it works:) But i don´t get one thing...

View Article


New Post: Udp Byte - Send and Recieve (Play and record).

I have actually got it working:) Though it has some optimization problems. One thing is, if i want to change the input device when the chat is active, it will cause a delay getting added, and it never...

View Article

New Post: streaming real time audio from bluetooth stethoscope

I tried doing it without a separate thread and it just waited until it reached the end of the function to actually start playing. Is that a result of not have anything before I start receiving audio?...

View Article

New Post: WASAPI Capture?

I see that WasapiCapture is available, but i have some questions about it. 1: Is it possible to reduce latency (Maybe using Exclusive mode?) 2: I got a problem where my mic only records mono, or...

View Article

New Post: Crossfading, how?

I tested it ealier today, at the dispose not called error occoures because of an exception for at specific file. So not a general problem i think. I'm using 1.6 and yes, i'm currently only running it...

View Article


New Post: left and right channel

Hi, i just start working with Naudio. Im traing to find something like balance. I need to play 2 wave on different channels. example on left side 100Hz and 115 on right. Can I do this in very simple...

View Article

New Post: Wavein vs WaveinEvent?

From what i understand, Wavein will run on the main thread, and WaveinEvent will run on a separate thread. But i noticed, that if i use Waveinevent, i need to increase the buffer from 4-5ms to 11-12ms....

View Article


New Post: streaming real time audio from bluetooth stethoscope

I got it! Still couldn't get it to work without threading, but it works like a charm like this. Now, I have to get it to stream over the network good enough so that there won't be noticeable lag as far...

View Article

New Post: Wavein vs WaveinEvent?

I'm surprised you managed to get the latency that low at all with either type of WaveIn. It's not really a low latency audio API. The issue might be that when the event is set, perhaps the thread...

View Article


New Post: ASIO Input Datavilable (What to write here?)

count is the number of samples you want to write. Use samples.Length.

View Article

New Post: Crossfading, how?

the fade step is the last step in the audio pipeline. You just put it after volume, mixereffect etc.

View Article

New Post: left and right channel

you need two sginal generators each feeding into a panning sample provider (one panned hard left, one right), then mix the two stereo signals together with a mixing sample provider

View Article
Browsing all 5831 articles
Browse latest View live


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