New Post: how to resample pcm audio in a byte array
NAudio offers access to several resamplers. Please check this article to read about the different options.
View ArticleNew Post: AsioOut.Stop breaks subsequent calls to AsioOut.Play
thanks, probably a bug in AsioOut. Will try to get this looked at at some point
View ArticleNew Post: Save directly to mp3 o wma with naudio
yes, this can be done, but it is a bit more tricky to implement correctly as you have to pull audio through the codec at the right speed according to how much is available. NAudio does let you work at...
View ArticleNew Post: Is there a way to convert Mulaw files to WAV?
yes, there are examples in the NAudioDemo source code use the WaveFormatConversionStream
View ArticleNew Post: MmException on a waveout.Init
could be an unsupported format. you need to give the full exception details
View ArticleNew Post: Beep Sound when Decoding DSP TrueSpeech To PCM
with codecs, they often retain state from call to call, so that may account for the tones. Just create a single AcmStream and use that to convert each buffer as it becomes available.
View ArticleNew Post: adding effect to MP3 file
well if it's 16 bit audio, don't use BitConverter.ToSingle - its a Short (Int16) not a float
View ArticleNew Post: Identify origin of played sound
to record everything you hear, look at WasapiLoopbackCapture. As for telling where it came from, I'm afraid NAudio can't help you with that.
View ArticleNew Post: Signed NAudio NuGet distribution?
hi I'm afraid there are no plans to sign NAudio, as this can cause more problems than it solves. But it's open source, so it is really easy for you to create your own signed build if you want one.
View ArticleNew Post: save a mix
First thing is to check you have inputs to your mixer. Can you create WaveFile from one of the inputs?
View ArticleNew Post: Streaming microphone in memory
have a look at the NetworkChatDemo in the source code repository
View ArticleNew Post: Wasapi Loopback Non-Audio Data
No, you will only get 32 bit floating point audio samples from WasapiLoopbackCapture
View ArticleNew Post: Enumerating devices - how to determine the type
NAudio uses WASAPI device enumeration, so if there is anything in WASAPI that can be used to determine the device type, then it can be used in NAudio
View ArticleNew Post: Set compression using Naudio project
hi, the compressor in Skype Voice Changer is my only working sample at the moment. I hope to provide more code samples in the future.
View ArticleNew Post: ASIO driver stops randomly after some time
sorry, I don't know what might be causing this. If you can debug against the NAudio source that might help. What soundcard are you using?
View ArticleNew Post: how to resample pcm audio in a byte array
cool! thanks very much mark. i was still on version 1.6 so i've updated to 1.7. for anyone else, here's a fragment of my code to resample to a hard-coded 8khz. seemed to work for many different input...
View Article