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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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)
No.

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.


James

--

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys
http://www.30secondrule.com   - Building Better Tools
This topic is locked and can not be replied to.