By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,633 Members | 1,149 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,633 IT Pros & Developers. It's quick & easy.

Is this possible? Audio recording over the web.

P: n/a
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 ]

Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Sugapablo wrote:
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.


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.
Jul 17 '05 #2

P: n/a
In comp.lang.php Sugapablo <ru**@removesugapablo.com> wrote:
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.
Not possible, you need some extra clientside stuff.
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?


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.misc removed from FUP since this kind of stuff should be
platform independend :)
Jul 17 '05 #3

P: n/a
imo
Daniel Tryba wrote:
In comp.lang.php Sugapablo <ru**@removesugapablo.com> wrote:
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.

Not possible, you need some extra clientside stuff.

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?

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.misc removed from FUP since this kind of stuff should be
platform independend :)

That would be nice to have such technology 1st appeal in Linux based
mechine.
Jul 17 '05 #4

P: n/a
["Followup-To:" header set to comp.os.linux.misc.]
On Fri, 22 Apr 2005 13:35:56 -0400, Sugapablo
<ru**@REMOVEsugapablo.com> wrote:
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.

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?"
Jul 17 '05 #5

P: n/a
On Fri, 22 Apr 2005 13:35:56 -0400, Sugapablo <ru**@REMOVEsugapablo.com> wrote:
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.


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.)
Jul 17 '05 #6

P: n/a
"Sugapablo" <ru**@REMOVEsugapablo.com> wrote in message
news:pa****************************@REMOVEsugapabl o.com...
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?


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.

Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.