tag:blogger.com,1999:blog-6822536077160579260.post336608664953772192..comments2023-06-05T14:25:52.227+01:00Comments on Sound Code: NAudio 1.3 Release NotesAnonymoushttp://www.blogger.com/profile/17900587357903273800noreply@blogger.comBlogger58125tag:blogger.com,1999:blog-6822536077160579260.post-58183571059186964232011-04-21T12:44:23.554+01:002011-04-21T12:44:23.554+01:00@Lex, BufferedWaveProvider is new in NAudio 1.4@Lex, BufferedWaveProvider is new in NAudio 1.4Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-51741107742261214202011-04-20T18:11:16.027+01:002011-04-20T18:11:16.027+01:00I downloaded your library from the official site. ...I downloaded your library from the official site. http://naudio.codeplex.com/releases/view/34249<br /><br />But I couldn`t find any BufferedWaveProvider. This is not even in the source code. Can you check please?Lex Tserenjavnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-22040713390065478342011-02-08T07:57:00.913+00:002011-02-08T07:57:00.913+00:00does anyone know a way to detect for example the h...does anyone know a way to detect for example the highest 10 peaks? I have implemented FFT Radix2. <br />I am using an amplitude threshold but in most cases the amplitude threshold is too high and it doesn't detect all peaks.From what I see in excel, after recording peaks, they decrease in time.<br /> Does anyone know another way to detect the highest 10, 11 peaks( or peaks)?<br /><br />Need help...PLSSdetect peaksnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-34479176559260814772011-02-02T11:57:35.173+00:002011-02-02T11:57:35.173+00:00@nastaran - look at the NAudioDemo project in the ...@nastaran - look at the NAudioDemo project in the source codeAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-51338448669179093122011-02-02T11:56:40.472+00:002011-02-02T11:56:40.472+00:00hi I just need a simple code to use naudio so that...hi I just need a simple code to use naudio so that I can play a music and then by the track bar I can change the volumeUnknownhttps://www.blogger.com/profile/06087223692992786077noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-37429020908890540432010-12-10T14:31:40.617+00:002010-12-10T14:31:40.617+00:00hi Tor,
NAudio has two options for Resampling:
the...hi Tor,<br />NAudio has two options for Resampling:<br />the DmoResamplerStream<br />or the WaveFormatConversionStream (uses ACM)Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-77959833481028030502010-12-10T10:12:54.786+00:002010-12-10T10:12:54.786+00:00Hi Mark, I'm developing a voip application and...Hi Mark, I'm developing a voip application and would like to use NAudio with Wasapi for low latency. However I need to do sample rate conversion. Do you have any recommendations? Can I use the resampler in Speex for real time conversion?Tornoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-15920753801265431902010-11-21T16:54:37.233+00:002010-11-21T16:54:37.233+00:00I am trying to get the pitch of a sound using the ...I am trying to get the pitch of a sound using the fft function. I created an array with the intensity of each frequency and I can get the index of the pitch. Now my problem is. How can I convert this index to a frequency.Aaronhttps://www.blogger.com/profile/03417199238789149404noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-4804769921410597042010-10-20T13:58:49.334+01:002010-10-20T13:58:49.334+01:00hi Umesh,
go to the source code tab on CodePlex ...hi Umesh, <br /><br />go to the source code tab on CodePlex and download the latest NAudio source code. I have checked in some improvements to MP3 file reading recently that might fix your issue.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-80177159277667115312010-10-20T13:57:35.622+01:002010-10-20T13:57:35.622+01:00Hi Mark,
I have downloaded the Naudio.dll (1.3). b...Hi Mark,<br />I have downloaded the Naudio.dll (1.3). but when i try to play .mp3 file it gives "Not a recognised mp3 Block.". Please Provide me the new version of Naudio.dll so i can play mp3 files.<br /><br />Thanks<br />Umesh(umesh.prajapati@tatvasoft.com)Umesh Prajapatihttps://www.blogger.com/profile/09210470597401703891noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-90056954742850456622010-10-12T19:04:31.988+01:002010-10-12T19:04:31.988+01:00hi Alejandro,
I'm afraid I won't be portin...hi Alejandro,<br />I'm afraid I won't be porting NAudio to VB.NET. It is quite usable as a library from within VB.NET if you require though. <br /><br />If you want to try your hand at learning C# you will find that it is not too difficult if you know VB.NETAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-78854098618200470742010-10-07T21:17:33.000+01:002010-10-07T21:17:33.000+01:00Hi Mark, your work is really amazing! I would like...Hi Mark, your work is really amazing! I would like to ask you a question ... Is there any possibility to translate the source code to vb.net 2008? I have no knowledge they in c # and I would work together to debug and optimize code, and collaborate with the project. I'm working on a radio automation software. Alejandro (alenet444@hotmail.com)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-37100287791118601742010-09-09T13:35:40.687+01:002010-09-09T13:35:40.687+01:00Hi Mark,
I have downloaded the Naudio.dll (1.3)...Hi Mark,<br /> I have downloaded the Naudio.dll (1.3). but when i try to play .mp3 file it gives "Not a recognised mp3 Block.". Please Provide me the new version of Naudio.dll so i can play mp3 files.<br /><br />Thanks <br />Umesh(umesh.prajapati@tatvasoft.com)Umesh Prajapatihttps://www.blogger.com/profile/09210470597401703891noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-77427688782595467872010-07-11T17:05:02.840+01:002010-07-11T17:05:02.840+01:00I have developed a sound capturing winform applica...I have developed a sound capturing winform application using NAudio 1.3<br /> on c#. The idea is to capture streaming songs through sound card. It is<br />working perfectly fine on windows xp.<br />But On vista and windows7 machine if there is no sound driver installed it also take mic voice with it<br />which is a big issue(i have checked it on dell laptop and if i mute the microphone than it does not capture any sound<br /> )i just want to capture streaming song sound .NAudio 1.3 uses WASAPI audio capture for windows vista and 7.I need to solve this<br />issue urgently.yousuf hasannoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-83510731639726682842010-05-21T10:37:20.284+01:002010-05-21T10:37:20.284+01:00hi anonoymous, there are several articles about NA...hi anonoymous, there are several articles about NAudio on this blog that you should read. Also, see the NAudio codeplex page for links to other tutorials as well as sample projects.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-49995149804461783012010-05-21T03:08:18.030+01:002010-05-21T03:08:18.030+01:00can you explain NAudio internals and how stuff wor...can you explain NAudio internals and how stuff works in it? for beginners?<br /><br />What is a wave file, and what does it consist of, etc.. and how to does NAudio work? If you can make an introduction to NAudio in YouTube it will be good. with demos.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-37694203918739748492010-05-21T03:06:26.514+01:002010-05-21T03:06:26.514+01:00how can I use Speex Codec With NAudio Over the int...how can I use Speex Codec With NAudio Over the internet?<br /><br />So I will record audio from mic then send it to player over the internet?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-2866765763681737342010-05-21T02:48:04.952+01:002010-05-21T02:48:04.952+01:00Hi Mark, Can you make YouTube Videos demonstrating...Hi Mark, Can you make YouTube Videos demonstrating how to youse NAudio?<br />Can you upgrade the code to use all the new features of .Net 4.0? C# 4.0?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-39211323428637157762010-04-16T13:23:58.251+01:002010-04-16T13:23:58.251+01:00Hi!
First of all insanely great stuff!!
Can you t...Hi!<br /><br />First of all insanely great stuff!!<br />Can you tell me how could i default to 89db volume all mp3 that i play ?<br /><br />Regards,<br />AlenFrostmanhttps://www.blogger.com/profile/00624338665696875333noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-2195902321174273742010-03-02T20:35:17.775+00:002010-03-02T20:35:17.775+00:00Hi Mark,
just like CD mentioned above,
I'd lik...Hi Mark,<br />just like CD mentioned above,<br />I'd like to be able to use loopback-capturing to capture any sound output from the soundcard.<br /><br />Lots of machines / drivers do not support "Record from stereomix",<br />so loopback is the only option in those cases.<br /><br />What would be the correct way to do loopback recording with NAudio ?Maud & Lennarthttps://www.blogger.com/profile/14864029774384857969noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-66015315511428851882010-02-22T11:40:02.097+00:002010-02-22T11:40:02.097+00:00@dehghan NAudio can read WAV files and use ACM cod...@dehghan NAudio can read WAV files and use ACM codecs to decompress them. Is a GSM file a custom file format, or is it inside a WAV file? If so, you may be able to use the WaveFormatConversionStream to convert it.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-38491792210364223532010-02-19T21:33:29.949+00:002010-02-19T21:33:29.949+00:00Great job, but I have a question. I searched all y...Great job, but I have a question. I searched all your blog and NAudio Discussion threads but found nothing. <br />I have a GSM file (recorded by asterisk), how can I play it with NAudio?Ali Dehghanhttps://www.blogger.com/profile/16383612300638742996noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-27264026586924959462010-02-19T20:25:12.768+00:002010-02-19T20:25:12.768+00:00Hi Mark - Tom, Sarah, Dan and Jennie here. We thin...Hi Mark - Tom, Sarah, Dan and Jennie here. We think that the key issue is the low latency spectrum visualisation algorithm. Really what you want to do is improve your C++ interop skills to be honest. See you in the morning!Icanusewindowspaintnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-34286860761584930182010-02-17T15:01:11.642+00:002010-02-17T15:01:11.642+00:00Hi Mark, firstly great library! I'm planning t...Hi Mark, firstly great library! I'm planning to use it in a 'batch mode' to create individual amplitude sample sets for a large mp3 library. I notice that your demo MeteringStream class does exactly what I need, but in realtime as it intercepts the stream en route to the WavePlayer. Do you have any example code showing simple consumption of the WaveStream with creation of volume samples - I'm getting confused by the multi channel aspects and index += 4; nature of the stream's low level format.<br /><br />Again, thanks for a great library!<br /><br />regards<br /><br />SeanRSeanRnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-47376176474423686502010-01-20T18:32:50.262+00:002010-01-20T18:32:50.262+00:00Hi Mark,
Excellent project, professionally done. ...Hi Mark,<br /><br />Excellent project, professionally done. <br /><br />NAudio 1.3 has problems playing an MP3 file where the MP3Header does not immediately follow the ID3Tags.<br /><br />The MP3Header must be scanned after all known headers/tags have been found.<br /> // try for a header<br /> long headerStartPosition = input.Position;<br /> byte[] headerBytes = reader.ReadBytes(4);<br /><br /> // Added -jam to play wrapped mp3 files via RIFF<br /> headerBytes = CheckForRiff(input, reader, headerBytes);<br /><br /> bool bHeaderFound = false;<br /><br /> long readsToTry = 4000;<br /> if (readsToTry > input.Length)<br /> readsToTry = input.Length;<br /><br /> while (bHeaderFound == false && readsToTry > 0)<br /> {<br /><br /> if ((headerBytes[0] == 0xFF) && ((headerBytes[1] & 0xE0) == 0xE0))<br /> {<br /> bHeaderFound = DecodeMpegHeader(headerBytes);<br /> }<br /><br /> if(bHeaderFound == false)<br /> {<br /> --readsToTry;<br /> headerBytes[0] = headerBytes[1];<br /> headerBytes[1] = headerBytes[2];<br /> headerBytes[2] = headerBytes[3];<br /> headerBytes[3] = reader.ReadByte();<br /> }<br /> }<br /><br /> if (!bHeaderFound)<br /> {<br /> input.Position = headerStartPosition;<br /> throw new FormatException("Not a recognised MP3 block");<br /> }<br /><br />Ron NelsonAnonymousnoreply@blogger.com