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

New Post: Volume Meter

hi,   It tell to create a pannel...i need to use it in a form...private SampleProvider CreateInputStream(stringfileName)  Thanks & Regards,HInshin

View Article


New Post: Volume Meter

the exact same code will work in a form.

View Article


New Post: Volume Meter

Hi,   can you please tell me the sample code for that ... I tried a lot but I was not able to find that . please tell the solution. Thanks & Regards, Hinshin 

View Article

New Post: Create a playlist?

Hi,I am starting with NAudio, i need to create a Playlist.  Does NAudio provide functions to create a playlist of X songs?. thanks a lot.

View Article

New Post: NAudio can't play some mp3 streaming

I wrote a software with NAudio demo that play steaming MP3 file. I found that NAudio can play most of MP3 file, but can't work with some MP3 file. I checked the sampling rate and bit rate of MP3 files,...

View Article


New Post: Volume Meter

 Hi,   can you please tell me the sample code for that ... I tried a lot but I was not able to find that . please tell the solution. Thanks & Regards, Hinshin 

View Article

New Post: MediaFoundation CreateWaveFormatFormMediaType

I took the time to check with the documentation and with some audio files.This version is probably better fit. [DllImport("mfplat.dll", ExactSpelling = true, PreserveSig =...

View Article

New Post: NAudio can't play some mp3 streaming

what do you mean "can't work"? What error message do you get?

View Article


New Post: NAudio can't play some mp3 streaming

This is my code: private void PlayMP3Stream(byte[] mp3Bytes)       {           using (MemoryStream responseStream = new MemoryStream(mp3Bytes))           {               var readFullyStream = new...

View Article


New Post: NAudio can't play some mp3 streaming

 private void udpReceive()       {           try           {               playMP3Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);               playIPEP = new...

View Article

New Post: NAudio can't play some mp3 streaming

I debug the code step by step in VS2012, when NAudio stop playing steaming, I got NAudio mMException in VS.

View Article

New Post: NAudio can't play some mp3 streaming

NAudio.MmException: AcmNotPossible calling acmStreamConvert

View Article

New Post: NAudio can't play some mp3 streaming

I suspect you have a change of sample rate / channels within the filefor each frame in your MP3 file, output to debug frame.SampleRate, and  frame.ChannelMode , and see what the values for the one that...

View Article


New Post: MediaFoundation CreateWaveFormatFormMediaType

It really will have to be WaveFormatExtraData or a WaveFormat using NAudio's WaveFormatCustomMarshaller. The trouble is, waveformats can be any length, so you must use a class that is big enough to...

View Article

New Post: Volume Meter

This is the important bit in the demo - we wrap our input stream in a MeteringSampleProvider, and subscribe to stream volume            var postVolumeMeter = new MeteringSampleProvider(waveChannel);...

View Article


New Post: How to code circullar buffer to create a delay and used the wavein...

if the play speed is too slow, check your waveformat. For example playing stereo audio as though it was mono can result in playback too slow.Mark

View Article

New Post: MediaFoundation CreateWaveFormatFormMediaType

I had not seen WaveFormatCustomMarshaler & WaveFormatExtraData.Gloupss Sorry, I tested this solution.

View Article


New Post: Create a playlist?

hi , NAudio has no built-in playlist feature, but you can make one by either handling the playback stopped event to trigger the next file, or writing your own custom IWaveProvider/ISampleProvider that...

View Article

New Post: MediaFoundation CreateWaveFormatFormMediaType

 I change my routine somewhat.I do not have audio file with ExtraData to complementary tests.[DllImport("mfplat.dll", ExactSpelling = true, PreserveSig = false)]internalstaticexternvoid...

View Article

New Post: MediaFoundation CreateWaveFormatFormMediaType

It is formats like MP3, AAC (and some types of ADPCM) that tend to have extra data after the WaveFormat structure. The most I have ever seen is about 40 bytes. You could perhaps enumerate all MF...

View Article
Browsing all 5831 articles
Browse latest View live


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