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

New Post: System.Drawing and System.Windows.Forms references

I would like to see these references added as part of the NuGet package(s), since they're required. It took me a long time to figure out why an Azure deployment was failing because of this :(

View Article


New Post: Converting RTP Packets into wav format and writing to a wav file...

Excellent article Mark. It took me a while to understand )).. A few questions after reading your article: 1) NAudio will only be able to convert raw stream into PCM for ACM codecs or the ones supported...

View Article


New Post: Custom sample provider FFT sample capture issue

I was experimenting with WasapiOut.cs and found out the minimum supported period is 30000 (30ms). So, I did the following: audioClient.Initialize(shareMode, AudioClientStreamFlags.EventCallback,...

View Article

New Post: System.Drawing and System.Windows.Forms references

@tommck, what class in NAudio were you using that needed WinForms in Azure?

View Article

New Post: Custom sample provider FFT sample capture issue

you must make sure your buffer size is block aligned (use BlockAlign on the WaveFormat). I'm not quite sure what you are referring to as a "frame" in this context.

View Article


New Post: Converting RTP Packets into wav format and writing to a wav file...

If it is an ACM codec you must use WaveFormatConversionStream, and if it is a Media Foundation codec you use MediaFoundationReader. It can be a bit of a pain working with custom ACM codecs- you have to...

View Article

New Post: How would I detect drum beats in a live stream?

NAudio gives you access to the raw samples. You'd need to implement your own transient detection algorithm. How simple this is depends on what sort of signal you are looking at. If you can isolate a...

View Article

New Post: Custom sample provider FFT sample capture issue

I'm new at audio processing so you will have to forgive my ignorance. I took a look at WaveFormat.BlockAlign. It only has a getter and the value was "4" when I retrieved it (I have been trying to...

View Article


New Post: change left or Right channel volume.

It work all right for single song. When go to next song then it is reset. what i doing now?

View Article


New Post: Where to discuss NAudio 1.7-alpha

Where is an appropriate place to discuss NAudio 1.7-aplha builds? I am very interested in using MediaFoundationReader. I have used it to some success, but I cannot detect stream end in order to play...

View Article

New Post: Where to discuss NAudio 1.7-alpha

That's very strange and unexpected. What sort of a file are you playing? When you say "repeats" forever, do you mean it goes back to the start again? Or does it play silence?

View Article

New Post: Where to discuss NAudio 1.7-alpha

The file format I am using is either mp3 for flac. I installed the mfFlac codec to support flac in media foundation. http://sourceforge.net/projects/mfflac/ Interestingly enough in further testing the...

View Article

New Post: Wasapi Loopback Recording -> Heavy noise/distortion

Hey all, i'm trying to write a simple stereo-mix substitute in c#, but can't seem to get it working even remotely.public void StartRecording() { recthread = new Thread( () => { var cap = new...

View Article


New Post: Wasapi Loopback Recording -> Heavy noise/distortion

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 equivalent PCM or IEEE...

View Article

New Post: Where to discuss NAudio 1.7-alpha

What IWavePlayer implementation are you using? The idea is that FileWaveStream's Read method should return 0 when it reaches the end. Then the wavePlayer knows that it can stop playing. So you could...

View Article


New Post: Wasapi Loopback Recording -> Heavy noise/distortion

Hello Mark, thanks for your fast answer. As you suggested, i tried it with WaveFormatExtensible now, which works partially. Partially in the sense that it works sometimes perfectly, but sometimes i...

View Article

New Post: Record wav from single channel source

Hi, First of all, thank you for making such an easy to use audio library. As a rookie in programming, NAudio helps me a lot in my project. I need to record a mono signal from Line-in jack, the source...

View Article


New Post: 10 band Equalizer

My calculations are working without causing any sound gaps, pops, or crackles; but I cannot hear the changes. 16hz through 500khz at 5db with the high frequencies at -5db should sound like the music 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: Converting RTP Packets into wav format and writing to a wav file...

Finally I got the stereo format for MuLaw working. Now I am able to extract Rx, Tx payloads from RTP packets and write them into a wav file in stereo mode which plays fine in Media Player. I realized...

View Article
Browsing all 5831 articles
Browse latest View live


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