Forum: Ruby can ruby record sound and play it directly from webpage?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
sddlzz (Guest)
on 2005-12-04 15:07
(Received via mailing list)
Can ruby record sound and play it directly from webpage?
I dont know how ruby can do it?
Any one can tell me ruby can do it?
hcatlin (Guest)
on 2005-12-04 15:36
(Received via mailing list)

More correctly: depends what you mean. Ruby is just a programming
language. There is no current setup for Ruby to run like Java Applets
(AFAIK) and actually execute an application in the web browser, which
is fundamentally different than the way most webpages work. (With
javascript being the weirdo between the two worlds). That's the only
way a webpage is going to be able to "record sound". Otherwise,
webpages just show information and handle formatting. All A/V stuff
within a webbrowser is just a trick.

You'd need a Java Applet. But, if you *really* wanted it to be in Ruby,
you could perhaps compile from Ruby to Java and with a little salt, hot
sauce, and love turn it into an applet.

-hampton catlin.
james_b (Guest)
on 2005-12-04 16:57
(Received via mailing list)
Hampton wrote:
> You'd need a Java Applet.

Or Flash.  Same issues, though there are tools for using Ruby to create
Flash objects.


--       - Ruby Help & Documentation - Ruby Code & Style: Writers wanted      - The Ruby Store for Ruby Stuff     - Playing with Better Toys   - Building Better Tools
This topic is locked and can not be replied to.