Is this possible? Audio recording over the web.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sugapablo

    Is this possible? Audio recording over the web.

    I had an idea for something that I can't find any evidence if it exists,
    or if it can be done. I assume it can be done.

    What I'd like to be able to do, is to allow people who come to my website,
    click a button on the page to begin submitting an audio stream to the
    server.

    Basically, once the "record" button was hit by the client, an audio stream
    would be generated by the client's microphone and would be sent over port
    80 (just like all other web data) and would be recorded on the server,
    encoded as an MP3.

    I figure, when you upload a file, it sends 0s and 1s in a stream that is
    written as a file on the server, why not 0s and 1s generated by a
    microphone rather than reading from a file on the client's hard drive?

    The point would be to allow web users to record short audio MP3s directly
    to the server without any other software than their browser, and with only
    a standard microphone. Files would be saved, and then added to a Podcast
    automatically, thus creating a sort of audio message board or blog.

    Has this ever been done? Is it possible?

    Couldn't find anything on Google or sourceforge.

    --
    [ Sugapablo ]
    [ http://www.sugapablo.net <--personal | http://www.sugapablo.com <--music ]
    [ http://www.2ra.org <--political | http://www.subuse.net <--discuss ]

  • Pugilis T. Master

    #2
    Re: Is this possible? Audio recording over the web.

    Sugapablo wrote:[color=blue]
    > I had an idea for something that I can't find any evidence if it exists,
    > or if it can be done. I assume it can be done.
    >
    > What I'd like to be able to do, is to allow people who come to my website,
    > click a button on the page to begin submitting an audio stream to the
    > server.
    >
    > Basically, once the "record" button was hit by the client, an audio stream
    > would be generated by the client's microphone and would be sent over port
    > 80 (just like all other web data) and would be recorded on the server,
    > encoded as an MP3.
    >
    > I figure, when you upload a file, it sends 0s and 1s in a stream that is
    > written as a file on the server, why not 0s and 1s generated by a
    > microphone rather than reading from a file on the client's hard drive?
    >
    > The point would be to allow web users to record short audio MP3s directly
    > to the server without any other software than their browser, and with only
    > a standard microphone. Files would be saved, and then added to a Podcast
    > automatically, thus creating a sort of audio message board or blog.
    >
    > Has this ever been done? Is it possible?
    >
    > Couldn't find anything on Google or sourceforge.
    >[/color]

    I do not believe what you are talking about has ever been done. It is
    technically speaking, possible, but would be quite an undertaking. What
    is needed is for the client machine to be running some kind of encoding
    software. Making this happen in a web browser would require a browser
    plugin or applet. An applet that makes use of a client machine's
    specialized hardware would be very difficult to implement and test on
    different operating systems, platforms and sound cards.

    So the short answer would be something like a 'no' with an asterisk next
    to it.

    Comment

    • Daniel Tryba

      #3
      Re: Is this possible? Audio recording over the web.

      In comp.lang.php Sugapablo <russ@removesug apablo.com> wrote:[color=blue]
      > The point would be to allow web users to record short audio MP3s directly
      > to the server without any other software than their browser, and with only
      > a standard microphone.[/color]

      Not possible, you need some extra clientside stuff.
      [color=blue]
      > Files would be saved, and then added to a Podcast
      > automatically, thus creating a sort of audio message board or blog.
      >
      > Has this ever been done? Is it possible?[/color]

      Yes, with the proper clientside software and a simple serverside script.

      Recording could be done with eg Java's JMF library
      (http://java.sun.com/products/java-me...ocs/index.html)
      directly recording mp3 (some minority platforms will need to send "raw"
      audio to be compressed serverside) and posting that to a php script
      which will save it to disk (the usual fileupload handling stuff)

      comp.os.linux.m isc removed from FUP since this kind of stuff should be
      platform independend :)

      Comment

      • imo

        #4
        Re: Is this possible? Audio recording over the web.

        Daniel Tryba wrote:[color=blue]
        > In comp.lang.php Sugapablo <russ@removesug apablo.com> wrote:
        >[color=green]
        >>The point would be to allow web users to record short audio MP3s directly
        >>to the server without any other software than their browser, and with only
        >>a standard microphone.[/color]
        >
        >
        > Not possible, you need some extra clientside stuff.
        >
        >[color=green]
        >>Files would be saved, and then added to a Podcast
        >>automatically , thus creating a sort of audio message board or blog.
        >>
        >>Has this ever been done? Is it possible?[/color]
        >
        >
        > Yes, with the proper clientside software and a simple serverside script.
        >
        > Recording could be done with eg Java's JMF library
        > (http://java.sun.com/products/java-me...ocs/index.html)
        > directly recording mp3 (some minority platforms will need to send "raw"
        > audio to be compressed serverside) and posting that to a php script
        > which will save it to disk (the usual fileupload handling stuff)
        >
        > comp.os.linux.m isc removed from FUP since this kind of stuff should be
        > platform independend :)[/color]


        That would be nice to have such technology 1st appeal in Linux based
        mechine.

        Comment

        • Bill Marcum

          #5
          Re: Is this possible? Audio recording over the web.

          ["Followup-To:" header set to comp.os.linux.m isc.]
          On Fri, 22 Apr 2005 13:35:56 -0400, Sugapablo
          <russ@REMOVEsug apablo.com> wrote:[color=blue]
          > I had an idea for something that I can't find any evidence if it exists,
          > or if it can be done. I assume it can be done.
          >
          > What I'd like to be able to do, is to allow people who come to my website,
          > click a button on the page to begin submitting an audio stream to the
          > server.
          >[/color]
          It might be possible with Flash. If you have ever right-clicked on a
          Flash animation and clicked Preferences, there are choices to allow
          access to your computer's microphone and camera (I don't have a camera,
          and haven't seen a page that uses the microphone).


          --
          "I deleted a file from my PC last week and I have just realized that I
          need it. If I turn my system clock back two weeks will I have my file
          back again?"

          Comment

          • Roger Blake

            #6
            Re: Is this possible? Audio recording over the web.

            On Fri, 22 Apr 2005 13:35:56 -0400, Sugapablo <russ@REMOVEsug apablo.com> wrote:[color=blue]
            >What I'd like to be able to do, is to allow people who come to my website,
            >click a button on the page to begin submitting an audio stream to the
            >server.[/color]

            A friend of mine worked for a company that did something similar to this,
            but using an automated telephone system. The idea was that a user would
            be able to record audio via any telephone and have it immediately available
            on the server. The target market was voiceovers for online advertising,
            but it failed to catch on and the company subsequently went under.

            --
            Roger Blake
            (Subtract 10 for email.)

            Comment

            • Chung Leong

              #7
              Re: Is this possible? Audio recording over the web.

              "Sugapablo" <russ@REMOVEsug apablo.com> wrote in message
              news:pan.2005.0 4.22.17.35.55.5 78441@REMOVEsug apablo.com...[color=blue]
              > I had an idea for something that I can't find any evidence if it exists,
              > or if it can be done. I assume it can be done.
              >
              > What I'd like to be able to do, is to allow people who come to my website,
              > click a button on the page to begin submitting an audio stream to the
              > server.
              >
              > Basically, once the "record" button was hit by the client, an audio stream
              > would be generated by the client's microphone and would be sent over port
              > 80 (just like all other web data) and would be recorded on the server,
              > encoded as an MP3.
              >
              > I figure, when you upload a file, it sends 0s and 1s in a stream that is
              > written as a file on the server, why not 0s and 1s generated by a
              > microphone rather than reading from a file on the client's hard drive?
              >
              > The point would be to allow web users to record short audio MP3s directly
              > to the server without any other software than their browser, and with only
              > a standard microphone. Files would be saved, and then added to a Podcast
              > automatically, thus creating a sort of audio message board or blog.
              >
              > Has this ever been done? Is it possible?[/color]

              I have seen it done using a Java applet. Just Google it. I think the
              end-user would need to enable something in the JVM for it to work through.

              And as someone else mentioned, it could be done through Flash as well. If I
              recall correctly though, you'd need Macromedia's Flash Communication Server
              in order to do streaming.



              Comment

              Working...