Create my own mp3 stream

Is it possible to create your own mp3 so you could theoretically create your own internet radio station




Answer this question

Create my own mp3 stream

  • suneelb2b

  • NikiB

    http://www.un4seen.com/

    Check out the forum and the Net wrapper. Does exactly what you want.



  • PaulMD

    Madok wrote:

    Is it possible to create your own mp3 so you could theoretically create your own internet radio station



    So your first problem: how to make an mp3 How do you get the 'source sound' Once you have that it's only a matter of sending that source stream to an mp3 encoder...

    The second problem is simply a matter of starting a TcpListener, accept incoming connections, and write the mp3 encoded stream into the socket...


  • mthomasq3

    I have been doing a little research and I would like to implement a compatible version of the Shoutcast protocol does anyone know any available source code in C# preferably

    I’m also interested in consuming Shoutcast streams within my own C# application including extracting all metadata



  • Rhubarb

    Are you looking to build server and client components, or just a server component supporting the m3u format
  • meravsha

    i'm interested in creating the server and client but the possibility of supporting other formats would be interesting

  • Jacco Mintjes

    by the way thanks cablehead what you sent me might be a great help loving the BASS library

  • Abhi Arjun

    nope!

    i want to know how would you set up your own mp3 stream and also create a player to play that stream and i want to implement it myself

    I’m quite familiar with C# threading and Synchronization all i need to know is how to create and even trickier play the mp3 stream

    I’m not looking for code really but code will always be accepted just want to be pointed in the right direction



  • Prasenna

    Not a code solution, but a free way to set-up an internet radio station is to use Shoutcast:

    http://forums.winamp.com/showthread.php threadid=35635


  • Ramanuj

    Yeah I found that one myself even got it running, though it had “configuration” bug! because the request and response objects where designed for ASP.NET applications to be able to send none standard http headers you had to set the useUnsafeHeaderParsing property in the configuration file but I was not making a web app I was making a desktop app so I had to use reflection to loads the configuration element and set it very stressful.

    Why on earth don’t Microsoft create an easily programmable method of accessing Web.config properties!

    Anyway the code works so I’m working on the idea of backwards engineering it but that steel does not solve the problem of decoding / playing the mp3.



  • bingbangzoom

    No sh*t Sherlock that’s the whole problem!

    Ok just imagine I have a HUG collection of publicly created music in mp3, wma and hopefully in the future many other supported formats I would like to encode the library into the most efficient and common format possibly and I believe this is mp3 I could be wrong.

    Then I would like people to download my radio application Log in through the application then tune in to their favourite music.

    Ok I don’t need to know the BASICS of TCP/IP programming but I need to know how to transition between different audio formats!

    I have a basic idea of how to stream the bits to the client but when it gets to the client I need to know how to turn that Byte[] array into audio! I personally can’t believe the .net framework has somehow forgotten to have some good inbuilt libraries when it comes to media files!

    I know of the Windows media player library but if I’m not wrong the client MUST have windows media player installed plus I’m not quite sure how to feed a stream to the media player object

    Plus I would like the client to be able to have some basic functionality like skip track previous track!



  • Create my own mp3 stream