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

Updated Wiki: Create an ID3v2 Tag

You can create simple ID3v2 tags in NAudio by constructing a dictionary of IDs (4 character strings) and values. Here’s a simple example: Dictionary<string, string> tags = new...

View Article


Updated Wiki: Documentation

The NAudio Documentation Wiki NAudio FAQ What is NAudio? NAudio is an open source audio API for .NET written in C# by Mark Heath, with contributions from many other developers. It is intended to...

View Article


New Post: Resample problem

What kind of exception. The constructor overload of MixingSampleProvider with WaveFormat is so simple. Why it should throw any exception? If I use: WaveFormat waveFormat =...

View Article

New Post: Resample problem

maybe I added that in a later version. all SampleProviders must be IEEE float. they will not work with PCM audio

View Article

New Post: MP3 Encoding feature

If I understand this discussion, Lame library is not free of use?I thought Lame was free!Please can somebody explain me clearly the around of Lame license.

View Article


New Post: MP3 Encoding feature

LAME is free, but it is not .NET, so can't be part of NAudio. You can easily call LAME.exe using .NET though to convert a WAV file to MP3.

View Article

New Post: MP3 Encoding feature

LAME is free, but numerous patent holders claim it infringes their intellectual property when compiled. The authors of LAME have claimed that it can be distributed in source form as the source is just...

View Article

New Post: MP3 Encoding feature

yes, LAME.exe will never be included with NAudio.

View Article


New Post: MP3 Encoding feature

markheath wrote: NAudio uses the MP3 decoder that comes with Windows, which MS has already paid the license fee for. WMA Encoding is possible (I've done it once for a commercial project), but the API...

View Article


New Post: Latency in .net 4.5

I'm about to start doing some tests to see what latency I can get with naudio and how much I need to worry about the garbage collector. Microsoft seem to have made some massive improvements to the gc...

View Article

New Post: Latency in .net 4.5

There are a few issues to consider with latency and NAudio. First is simply the performance of the NAudio code. I have tried to write it with performance in mind, but it has never been through a round...

View Article

New Post: Resample problem

Now I'm able to do the mixing like this:WaveFormat waveFormat = new WaveFormat(44100, 2); WaveFileReader reader = new WaveFileReader(fileName); WaveFormatConversionStream convertStream = new...

View Article

New Post: Resample problem

if it is a sampleprovider then it is IEEE float. That  is what Pcm16BitToSampleProvider does

View Article


New Post: Resample problem

The mixer itself is 16bit PCM. Pcm16BitToSampleProvider needs IWaveProvider as source. Mixer is ISampleProvider. If I convert it using SampleToWaveProvider it tells me that must be floating point...

View Article

New Post: Resample problem

The WaveFormat of your sampleProvider class should be IEEE. Please do a sampleProvider.WaveFormat.ToString() and tell me what you've got. You can go back fom ISampleProvider to IWaveProvider using...

View Article


New Post: Resample problem

sampleProvider.WaveFormat.ToString() - "IeeeFloat" mixer.WaveFormat.ToString()  -"16 bit PCM: 44kHz 2 channels" I need to play the mixer that is 16 bit PCM...

View Article

New Post: Resample problem

If you are using MixingSampleProvider you must pass in an IEEE format into its constructor. The bug that lets you pass in PCM was fixed last month. It simply will not work with PCM, even though the...

View Article


New Post: Resample problem

But when I pass this waveFormat instance WaveFormat waveFormat = WaveFormat.CreateIeeeFloatWaveFormat(44100, 2); the following line throws exception: WaveFormatConversionStream convertStream = new...

View Article

New Post: Latency in .net 4.5

Mark, Thanks for the detailed reply. My requirement is to get an end to end latency of about 100ms using VoIP over a LAN. By my calculations that would be just about possible with a buffer size of...

View Article

New Post: Ima Adpcm Error during Compression

Hi, i am using following Wave Format for recoding a audio file. waveIn = New WaveIn () waveIn.WaveFormat =New WaveFormat (8000, 1) inputformat = waveIn.WaveFormat Now,i need to Encode/Compress these...

View Article
Browsing all 5831 articles
Browse latest View live