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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: NAudio can't play some mp3 streaming
what do you mean "can't work"? What error message do you get?
View ArticleNew 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 ArticleNew Post: NAudio can't play some mp3 streaming
private void udpReceive() { try { playMP3Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); playIPEP = new...
View ArticleNew 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 ArticleNew Post: NAudio can't play some mp3 streaming
NAudio.MmException: AcmNotPossible calling acmStreamConvert
View ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: MediaFoundation CreateWaveFormatFormMediaType
I had not seen WaveFormatCustomMarshaler & WaveFormatExtraData.Gloupss Sorry, I tested this solution.
View ArticleNew 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 ArticleNew 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 ArticleNew 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