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 ArticleNew Post: Analyze Music pulses
Hi There. I wanna Realize for instance the peak of the particular music and something like that. Get data from any part of the music in which for example what is the highest pulse is in this second and...
View ArticleNew Post: NAudio - audio visualizer C#
Hi. Can anyone explain what is the logic behind an audio visualizer and how can I use NAudio to make a simple visualizer ? I supose I need to make use of NAudio.Wave and analize the waveform created...
View ArticleNew Post: Finding Pattern sound inside another stream
I need to find a pattern inside the wave stream/file Scenario: I have a wave file #1 with N sentences, I need to find based on another wave file #2 if there is a match. Example: File #1: Hi every body,...
View ArticleNew Post: 32 to 16 bit depth wav help needed
Hi ! I have problem with audio recording from WasapiLoopbackCapture, its record wav file with 32 bit depth even when i set in sound card to 16 bit. I need 16 bit to mix it dow with other wav file (of...
View ArticleNew Post: how to decode mp3 byte[] from socket
I am newer to NAudio,i have a mp3 url likes : http://www.abc.com/sample.mp3 and want to download it with socket and store it into byte[] .code likesquequ<byte[]> _queue; ...... nBytes =...
View ArticleNew Post: Wasapi Loopback Recording -> Heavy noise/distortion
**markheath wrote:** You do need to get the right WaveFormat - using the one from capture should be OK, although WASAPI annoyingly likes to use WAVEFORMATEXTENSIBLE, so often I turn that into the...
View ArticleNew Post: Wasapi Loopback Recording -> Heavy noise/distortion
well for example if the WAVEFORMATEXTENSIBLE contained stereo IEEE float at 44.1kHz, you'd do this to make an equivalent WAVEFORMAT:WaveFormat.CreateIEEEFloat(44100, 2);
View ArticleNew Post: how to decode mp3 byte[] from socket
either it doesn't contain an MP3 file, or there is not a complete MP3 frame in there.
View ArticleNew Post: 32 to 16 bit depth wav help needed
I discuss how to change bit depth in this article:http://www.codeproject.com/Articles/501521/How-to-convert-between-most-audio-formats-in-NET
View ArticleNew Post: NAudio - audio visualizer C#
I'd recommend starting by looking at the demo projects that come with NAudio. They show how to draw waveforms and use FFT for spectrum analyser
View ArticleNew Post: 10 band Equalizer
you can't reassign buffer in the Read method. You must write into the buffer you were passed
View ArticleNew Post: NAudio 1.7-alpha MediaFoundationReader
Hi, I have the following code to play aac format: var reader = new MediaFoundationReader("d:\\Projects\\Samples\\aac.aac"); var waveOut = new WaveOut(WaveCallbackInfo.FunctionCallback()); var outDevice...
View ArticleNew Post: NAudio 1.7-alpha MediaFoundationReader
I'd stay away from function callbacks if at all possible. Use WaveOutEvent if you want a background thread for audio playback.
View ArticleNew Post: NAudio 1.7-alpha MediaFoundationReader
Thanks Mark, So, if I understand you correct I need to do the following: Use this:var waveOut = new WaveOutEvent(); Instead of this:var waveOut = new WaveOut(WaveCallbackInfo.FunctionCallback()); for...
View ArticleNew Post: 24 bit to 16 bit on the fly
Hi ! I need help with converting 24 bit input to 16 bit "on the fly" im trying to record audio output, if the format is set to 24 bit depth i have problem with mix it down to one channel (sound is...
View ArticleNew Post: Can you customize it to work with silverlight 4.0?
hi markheath: Is there possible that NAudio could work with MediaElement. I mean NAudio could parser audio files to a kind of MediaStreamSource? I have a sort of non-pcm wav files (Intel IMA ADPCM), do...
View ArticleNew Post: Loud noise at the beginnig and at at the end of a stream with...
Hi i have similar problem . i have 2 WaveProvider32 (sine providers) that pass to MultiplexingWaveProvider that pass to MultiplexingWaveProvider32Stereo, the MultiplexingWaveProvider32Stereo looks like...
View ArticleNew Post: Can you customize it to work with silverlight 4.0?
yes, it is possible to turn a MediaElement into an IWavePlayer, but I haven't done it myself. You'd also need a completely managed decoder for your ADPCM, since Silverlight cannot access ACM codecs.
View Article