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

New Post: MP3 Encoding feature

Hi, have you ever thought about implementing encoding algorithm for mp3 in managed code? Maybe you already have it in your backlog? it can be useful in Silverlight 4/WP7 projects, which cannot use...

View Article


New Post: MP3 Encoding feature

I'd love to do this, but it would be a huge undertaking. Keep hoping someone else will do it one day. If there was even a Java version I could port it. I've done unmanaged decoding, but encoding is a...

View Article


Commented Issue: WasapiCapture not reusable [16341]

I've been writing an app that records chunks of input audio to multiple files, with gaps between, but I discovered that if I try a call sequence which essentially boils down to this:WasapiCapture...

View Article

New Post: MP3 Encoding feature

What's the deal with patents on mp3? I know Fedora linux doesn't include mp3 encoding or even decoding because of patent encumbrances, although Fedora does appear to be extremely strict about what they...

View Article

New Post: MP3 Encoding feature

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 is ridiculously...

View Article


New Post: WAV &or MP3 separate left & right channel view

Hi, NAudio experts ;) I'm new to this library, and I nedd to create application that shows separate left and right channel of a wave or mp3 audio while recording or playing sound. I managed to draw...

View Article

Source code checked in, #501c949719f2

Merging in Pull Request from Nikolaos Georgiou for Id3v2 creation

View Article

New Post: Problem Converting To GSM610

I don't suppose you could shed a little more light on this please?  I'm trying to do the same PCM to GSM conversion and get exactly the same error. From what I can gather, the issue is with moving from...

View Article


New Post: Problem Converting To GSM610

Here is the full source code for CreateWaveFile: public static void CreateWaveFile(string filename, IWaveProvider sourceProvider) { using (WaveFileWriter writer = new WaveFileWriter(filename,...

View Article


New Post: Problem Converting To GSM610

Thanks for the quick reply. Where should I be calling that code then?  Trying the example you posted in reply to jonny, I get the exception when initialising the conversion stream.  It doesn't ever get...

View Article

New Post: Problem Converting To GSM610

OK, are you definitely using the Gsm610WaveFormat class? Also, before you can go to GSM 610, you already need to have resampled to 8kHz, if your audio was originally at a higher sample rate

View Article

New Post: Problem Converting To GSM610

Yes, I'm using the Gsm610WaveFormat class and I've already ensured the PCM is at 8kHz. I've also tried generating the PCM file myself so that I know it's at the correct sample rate.  Should the...

View Article

New Post: Problem Converting To GSM610

there is an ACM demo in the NAudioDemo app that will tell you what ACM codecs you have installed on your system. Check that there is actually a GSM one there. What version of Windows are you running on?

View Article


New Post: Problem Converting To GSM610

I've tried that and I can see the corresponding entry for the GSM format I'm trying to convert to: ===========================================Format Tag 1: GSM 6.10   Standard Format Count: 4   Support...

View Article

New Post: Problem Converting To GSM610

Can you convert your PCM file using the Encode button in the NAudioDemo app?

View Article


New Post: Problem Converting To GSM610

Nope.  I get the same "AcmNotPossible calling acmStreamSize" error.

View Article

New Post: Problem Converting To GSM610

and that is in the WaveFormatConversionStream constructor? or in CreateWaveFile?

View Article


New Post: Problem Converting To GSM610

That's in the constructor again. Stack trace: at NAudio.MmException.Try(MmResult result, String function) in D:\\VS Projects\\NAudio 1.5\\NAudio\\Wave\\MmeInterop\\MmException.cs:line 39at...

View Article

New Post: Problem Converting To GSM610

OK, will have to try to debug this one myself. I suspect sending in non block aligned values is confusing it

View Article

New Post: Problem Converting To GSM610

OK, fixed the bug and checked in this evening. You can build your own copy of NAudio, or if you know how to use NuGet to get a pre-release version, you can get it from the NuGet gallery:...

View Article
Browsing all 5831 articles
Browse latest View live