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

New Post: Sending and playing MP3 frames

There is an example of this in the NAudioDemo project, which uses a BufferedWaveProvider to queue audio for playback. Get the latest code and look at the NAudioDemo MP3 streaming example.

View Article


New Post: Sending and playing MP3 frames

This is what I have so far, but I can't figure out why the buffer in Read() is getting full.. http://pastebin.com/QedH4yVZ (Couldn't get the code tags to work :s)

View Article


New Post: ASIO input

Hfuy wrote: Hi, Is there some reason ASIO input isn't supported? I've hacked input capability into ASIODriverExt.cs - it's only half a dozen changes and appears to work fine, but I worry that there's...

View Article

New Post: NAudio Recording Performance

Thanks for your reply Mark. Some follow-up questions: - When you say "optimise your playback code": I'm not actually playing the audio back, just recording it. The popping I hear is right in the WAV...

View Article

New Post: NAudio Recording Performance

OK, that is very strange. I wouldn't expect there to be any pops if you are writing the recorded buffers directly to disk unless your computer is struggling so much it can't keep up at all. Do you...

View Article


New Post: Decompress (convert) mp3 to byte array for manipulation of audio...

Hi! I would like to decompress (convert) a mp3 file to byte array, so I can manipulate it and apply some of my own audio filters. How would I do that with naudio? Code would be very much appreciated...

View Article

New Post: Using NAudio playback as time source

I'm there, its all working and the timing is close enough. I used the WPFSoundVisualizationLib to show progress along the soundtrack. The only thing to solve is a problem with the sound after a pause....

View Article

New Post: NAudio - Peak Meter in C#

Hello, I have create my own application and i have to add volume meter in my application when an audio is playing, i used ur code but it was not working... Can u please help me where are u getting...

View Article


Created Issue: Save on file system with costant format [16349]

Hello,what is the most efficient way to persist the audio captured from the microphone guaranteeing the constant wave format (PCM, 1 channel, 16bit and 16000Hz) regardeless of the microphone...

View Article


New Post: The Id3v2Tag.Create()

Does this not exist anymore? It is in one of your tutorials but i cant seem to find it in the source. I tried instead to use ReadTag(System.IO.Stream stream) but i cant figure out what to pass it...

View Article

New Post: The Id3v2Tag.Create()

Ok so i can get the RawData but now i dont know what is actually useful to me. So frustrating.

View Article

New Comment on "MP3"

So what do we need the volumestream for? Manipulating the volume?

View Article

New Post: Decompress (convert) mp3 to byte array for manipulation of audio...

So I can be more clear:  I need a sample data from a mp3 file, so I can manipulate the data and then play the newly manipulated data. I have searched on google for a long time and did not get any info,...

View Article


Commented Issue: Destination array was not long anough when reading mp3 file...

I've got this code static void Main(string[] args) { try { Mp3FileReader reader = new Mp3FileReader(@"C:\testAudio.mp3"); long count = reader.Length; if (count <= int.MaxValue) { byte[] info = new...

View Article

New Post: MemoryAllocationError calling waveInOpen

I have an app that uses WaveIn to record audio. It records it in chunks... to do this, it calls: waveIn.StartRecording() ... and then after a few seconds, it calls: waveIn.StopRecording() Right after...

View Article


New Post: MemoryAllocationError calling waveInOpen

You need to properly dispose of the old WaveIn to avoid memory leaks. Also, it would be better to use just one instance of WaveIn, calling Start and Stop. An alternative is to just call StartRecording...

View Article

New Post: Alternative mp3 to wav method?

Hi! I'm currently working on a small project that operates on mp3 files at frame level, so i'm using Naudio, and i'm very happy with the results so far. Since I'm working with a List<Mp3Frame>...

View Article


Created Issue: NAudio resampler exception when deployed to Azure [16350]

I'm resampling wav file for my web app using ResamplerDmoStream. This works fine running locally, but I'm getting a registration error when deployed to Azure: Exception thrown =...

View Article

New Post: Decompress (convert) mp3 to byte array for manipulation of audio...

Create a new class that interherits from IWaveProvider. Now create as example a ctor and give set as parameter a IWaveProvider. Store this in a field. Now in your Readmethod you first read from the...

View Article

New Post: How to play an a-law-encoded network stream

Hi there, I'm new to NAudio and have problems while trying to play an a-law encoded network stream. My approach goes like this: RawSourceWaveStream myALawStream = new...

View Article
Browsing all 5831 articles
Browse latest View live


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