tag:blogger.com,1999:blog-6822536077160579260.post4252107719013716292..comments2023-06-05T14:25:52.227+01:00Comments on Sound Code: How to Play Streaming MP3 Using NAudioAnonymoushttp://www.blogger.com/profile/17900587357903273800noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-6822536077160579260.post-46071800456363813462013-11-21T07:29:12.606+00:002013-11-21T07:29:12.606+00:00@Mark H, can you dynamically update the playlist w...@Mark H, can you dynamically update the playlist with NAudio? I would like to add to the playlist dependant on some outside factors as and when it happensScullynoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-86092909312373684172013-09-29T18:56:00.878+01:002013-09-29T18:56:00.878+01:00the source code is all on CodePlex, at the NAudio ...the source code is all on CodePlex, at the NAudio site, inside the NAudioDemo project.<br /><br />You might actually find that it is much easier if all you want to do is stream from a URL, to simply use the MediaElement control from WPF, and set the source to point to that URL.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-20612343038144762502013-09-29T18:50:08.417+01:002013-09-29T18:50:08.417+01:00please sir at least help me to play, pause, stop a...please sir at least help me to play, pause, stop a mp3 file from web address...my email is sufiyan@engineer.com... i have used the last answer code from http://stackoverflow.com/questions/184683/play-audio-from-a-stream-using-c-sharp?lq=1 please help me sir.<br />Anonymoushttps://www.blogger.com/profile/14470238845654280589noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-7521777285172879542013-09-29T18:37:29.651+01:002013-09-29T18:37:29.651+01:00please Sir can you give the source code for "...please Sir can you give the source code for "How to Play Streaming MP3 Using NAudio" article... atleast reply me SIR :)Anonymoushttps://www.blogger.com/profile/14470238845654280589noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-32495041857556430142013-08-01T15:44:59.094+01:002013-08-01T15:44:59.094+01:00Thank you very much.
SakisThank you very much.<br />SakisAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-79417339426531735322013-07-31T10:48:43.797+01:002013-07-31T10:48:43.797+01:00Hi,
You mean i buffer the exising 50% mp3 to stre...Hi,<br /><br />You mean i buffer the exising 50% mp3 to stream and play, at the same time buffer the network stream and then append it to the player?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-77159921603517664082013-07-26T11:42:58.047+01:002013-07-26T11:42:58.047+01:00you'd need to buffer what you'd downloaded...you'd need to buffer what you'd downloaded somewhere, and to save space, I'd buffer the compressed audioAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-18488163107243649662013-07-26T11:40:08.018+01:002013-07-26T11:40:08.018+01:00i have a question:
if i have a file with 50% down...i have a question:<br /><br />if i have a file with 50% downloaded,<br />can i download/stream only the left 50% while playing it?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-74650390002500268072012-11-11T17:27:01.386+00:002012-11-11T17:27:01.386+00:00Hi,
nice post. Can I play streaming videos usi...Hi, <br /><br />nice post. Can I play streaming videos using Naduio. Can I get the source code for playing streaming mp3 audios.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-47382210854539825172012-07-19T15:15:10.016+01:002012-07-19T15:15:10.016+01:00Hi Mark,
Thank you very much for great library and...Hi Mark,<br />Thank you very much for great library and your hard work.<br />Can you also please provide some video tutorials for Demo programs which you created, it will be helpful for these who is new in .Net and audio programing to understand the examples.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-27375397063268538832012-06-11T11:07:50.682+01:002012-06-11T11:07:50.682+01:00@sajjad, you could easily also write incoming MP3 ...@sajjad, you could easily also write incoming MP3 frames to a file if you want. The BufferedWaveProvider is effectively an in-memory cache. You can increase its duration if you like.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-61662981577565652162012-06-04T14:48:23.834+01:002012-06-04T14:48:23.834+01:00Thanks so much
I have a more question.
can I save ...Thanks so much<br />I have a more question.<br />can I save or cache the buffered playing stream?<br /><br />thanks again.Sajjad Shadowhttps://www.blogger.com/profile/16207295166032819111noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-53580588705824746472012-05-31T16:58:48.004+01:002012-05-31T16:58:48.004+01:00I have been trying to work out how to stream radio...I have been trying to work out how to stream radio and show a waveform. I have been playing around with your streaming demo but can't get a waveform displaying correctly, the nearest I have got is showing a flat line. Any suggestions on how best to achieve this!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-81657975858792306092012-04-21T12:38:57.095+01:002012-04-21T12:38:57.095+01:00Hi Mark,
Thank you for your hard work over all tho...Hi Mark,<br />Thank you for your hard work over all those years ;)<br /><br />One question about your comment about playing AAC. You say above that AAC can be played using the ACM codecs but later say the ACM codecs do not permit this. Can you please clarify?<br />I would like to read from AAC files and transcode them to WAV/PCM. Can this be done with plain Naudio? When existing ACM codecs (where do I get them) or cannot be done?<br />Thank you for your lights,<br />John.Jonxhttps://www.blogger.com/profile/02834446680849610263noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-48711076018013759782012-04-02T09:43:25.743+01:002012-04-02T09:43:25.743+01:00@Dan, NAudio can't play AAC at the moment. Tha...@Dan, NAudio can't play AAC at the moment. That's a feature I'd really like to add, but it is not available using ACM codecs, so I'd need to learn how to wrap the Media Foundation Transforms to do this.<br /><br />As for Shoutcast, I haven't got any plans at the moment to support that I'm afraid.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-26142236635262631652012-03-31T01:28:09.308+01:002012-03-31T01:28:09.308+01:00Hi Mark. Most internet streams use shoutcast/AAC, ...Hi Mark. Most internet streams use shoutcast/AAC, is there any chance to include an NAudio Demo module to handle this? Thanks.Dan Crinoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-20782069193171919392012-03-20T12:51:47.461+00:002012-03-20T12:51:47.461+00:00you can only stream formats that NAudio can decomp...you can only stream formats that NAudio can decompress. So this usually means you need an ACM codec installed for it.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-54947291798722988122012-03-19T17:10:00.523+00:002012-03-19T17:10:00.523+00:00Hi, is it possible to play a stream that isn't...Hi, is it possible to play a stream that isn't mp3 with this library?? if it is can you point me the right direction to achieve this? ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-76158450012077350032011-11-21T15:57:09.964+00:002011-11-21T15:57:09.964+00:00@Gianluca, AAC could only be played if an AAC ACM ...@Gianluca, AAC could only be played if an AAC ACM codec was installed on your system. Even then you would also need to know what WaveFormat structure it was expecting to be able to select it correctly. "Mpeg" is probably not right.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-28108295700235870742011-11-14T11:41:15.294+00:002011-11-14T11:41:15.294+00:00Hi Mark,
I'm new in audio management and in NA...Hi Mark,<br />I'm new in audio management and in NAudio too.<br />I'm trying to play an AAC raw audio from an IP cam using NAudio.<br />Audio has a bitrate=32000, mono.<br />I tried to create a custom format using Mpeg Format without success).<br />Using NAudioDemo I've seen AAC ACM codec is installed.<br />I always has "NoDriver calling acmFormatSuggest" exception.<br />A code snippet:<br /><br /> WaveFormat format = WaveFormat.CreateCustomFormat(WaveFormatEncoding.Mpeg, 32000, 1, 32000, 1, 16);<br />using (WaveStream blockAlignedStream = new BlockAlignReductionStream(WaveFormatConversionStream.CreatePcmStream(new RawSourceWaveStream(ms, format))))<br /><br />Thank you in advance for your help.<br />GianlucaGianhttps://www.blogger.com/profile/01503995763959621957noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-33089411028026818432011-10-27T04:36:29.765+01:002011-10-27T04:36:29.765+01:00Can you show me which code I must change to do tha...Can you show me which code I must change to do that? (V1.5)<br /><br />And one more question, when "fullyDownload", how can I replay without reload data from server?<br /><br />Thanks :)Doan Ngoc Namhttps://www.blogger.com/profile/14442259526968606440noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-81207086345900942312011-10-26T09:35:43.742+01:002011-10-26T09:35:43.742+01:00@1712 when you play streaming audio, you just play...@1712 when you play streaming audio, you just play audio as it arrives. You could buffer what you receive to reposition backwards, but to reposition forwards you would need to skip over data you were receiving.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-10526093413418329862011-10-26T04:13:51.193+01:002011-10-26T04:13:51.193+01:00Hi Mark.
I'm trying to set position of this ...Hi Mark. <br /><br />I'm trying to set position of this streaming to play but I dont know how to do that. Is there anyway to do that?<br /><br />ThanksDoan Ngoc Namhttps://www.blogger.com/profile/14442259526968606440noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-53730826029799887402011-10-21T11:13:23.208+01:002011-10-21T11:13:23.208+01:00@Anonymous, post them on this blog, or on the NAud...@Anonymous, post them on this blog, or on the NAudio Codeplex discussion forum, or StackOverflow.com tagged with [naudio] if they are general questions that other NAudio users may be able to answerAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-82024329791049488222011-10-21T05:47:48.816+01:002011-10-21T05:47:48.816+01:00I have a couple of questions about streaming mp3 a...I have a couple of questions about streaming mp3 audio using naudio. What is the best method of contacting you and asking you those questions.Anonymousnoreply@blogger.com