tag:blogger.com,1999:blog-6822536077160579260.post4364388674245975615..comments2023-06-05T14:25:52.227+01:00Comments on Sound Code: Converting MP3 to WAV with NAudioAnonymoushttp://www.blogger.com/profile/17900587357903273800noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6822536077160579260.post-85707291044849249412011-08-09T14:27:23.006+01:002011-08-09T14:27:23.006+01:00@ah - look at the source code for CreateWaveFile -...@ah - look at the source code for CreateWaveFile - it is just a helper method that reads from the source and writes to the WAV file in a simple loop. You can easily write it yourself with whatever progress indicators you want.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-38930507185579169562011-08-02T20:32:24.812+01:002011-08-02T20:32:24.812+01:00Sorry I am late on this, I am new to NAudio (looks...Sorry I am late on this, I am new to NAudio (looks wicked btw). When calling WaveFileWriter.CreateWaveFile, is there a way to get the progress of the decoding?ahhttps://www.blogger.com/profile/04784173564155635891noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-46133612720786846172010-07-15T13:49:34.509+01:002010-07-15T13:49:34.509+01:00Hi Mark....
I have been unable to find an email a...Hi Mark....<br /><br />I have been unable to find an email address to contact you directly, so I thought I would post my question here...<br /><br />I am looking for an audio component and was wondering if nAudio was able to acheive what I require.<br />My requirements are as follows:<br /><br /> I have multiple audio tracks with nothing but music.<br /> I have multiple recorded voice tracks no longer than 2-3 seconds each.<br /> What I would like to do is "overlay" a voice track onto an audio<br />track at a specified time and output the results to a single file.<br /> E.g. Audio track is 2 minutes long, and I would like to insert<br />the voice track at 23 seconds as well 1m 05 seconds and at 1m 40<br />seconds.<br /><br />Can nAudio achieve this sort of task for me??<br />I am using VB.Net and I would need to accomplish this through code (API)...<br /><br />Your assistance would be greatly appreciated.<br /><br />AntonAntonhttps://www.blogger.com/profile/01870348781368284888noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-87976367313736869772010-06-18T15:35:08.863+01:002010-06-18T15:35:08.863+01:00I'm afraid NAudio cannot convert to MP3. Your ...I'm afraid NAudio cannot convert to MP3. Your best bet is to use LAME.exeAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-81955961489680781282010-06-09T23:12:58.444+01:002010-06-09T23:12:58.444+01:00Hi Mark,
I'd like to convert WAV to MP3. I...Hi Mark,<br /><br />I'd like to convert WAV to MP3. I've downloaded NAudio from codeplex but I can only find an MP3FileReader - is there an equivalent of an MP3FileWriter?<br /><br />To make matters more complicated I'd like to perform the conversion on the fly. I have some recordings in WAV (from a phone system) and would like to convert them in realtime as they are downloaded. I have a solution working which automates lame, but because I need to convert the whole file before streaming it gives me an appreciable delay.<br /><br />Any advice you have would be much appreciated.<br /><br />Regards,<br /><br />DanielAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-46421328493472582542010-05-17T16:53:53.157+01:002010-05-17T16:53:53.157+01:00@joymon - do you mean MP3 to WAV?@joymon - do you mean MP3 to WAV?Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-76048821708151547222010-05-17T16:40:15.934+01:002010-05-17T16:40:15.934+01:00Do you have any idea to convert WAV to Mp3 in Silv...Do you have any idea to convert WAV to Mp3 in Silverlight?Joymonhttps://www.blogger.com/profile/12014569049635491702noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-59607954448887999292010-05-13T17:57:06.466+01:002010-05-13T17:57:06.466+01:00The Windows 7 MP3 music clips fail because they ha...The Windows 7 MP3 music clips fail because they have a wrong layer code in some headers. However you can safely skip them.<br /><br />Take a look at:<br /><br />Bitstream.cs<br />nextFrame()<br />read_header()<br />isSyncMark()<br />"INVALID LAYER DETECTED"<br />==> SKIP :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-2960279116836681752010-05-13T12:54:15.891+01:002010-05-13T12:54:15.891+01:00I might have a go loading them with MP3Sharp, but ...I might have a go loading them with MP3Sharp, but I can't use any of their code unfortunately since it is GPLAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-49484471262832486152010-05-13T12:48:37.224+01:002010-05-13T12:48:37.224+01:00Hi ! Have you tested Mp3-Sharp to see if some erro...Hi ! Have you tested Mp3-Sharp to see if some errors are reproducible at the same stream offset ? I often come across MP3 files with a few weird frames, so I tend to just skip them instead of failing the entire conversion.<br /><br />http://robburke.net/mle/mp3sharp/<br /><br />Cheers, DanAnonymousnoreply@blogger.com