Where's the best place I can go to learn Ruby?

For general discussion related FlowStone
Post Reply
Warkauze
Posts: 6
Joined: Wed Jun 22, 2022 10:29 am

Where's the best place I can go to learn Ruby?

Post by Warkauze »

Where's the best place I can go to learn Ruby for synth development?

Also I know this question probably gets asked a lot, but is their any news on 64 bit support?
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Where's the best place I can go to learn Ruby?

Post by billv »

I think Flowstone itself...has become a perfect place to learn ruby....
There's lots of places online...that you've probably already found...so it's down to personal taste..
My favourites for learning ruby are the Apps I've downloaded..from Google play Store..
They're really good..and best of all..they are Mobile...go anywhere... :D
The Ruby Core is essential....if you haven't found it already....Hope this helps... :)
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Where's the best place I can go to learn Ruby?

Post by tulamide »

I agree. Flowstone itself is best. It provides a graphical backend for Ruby, that the original doesn't have (instead a command line interpreter, really bad), and it helps you directly communicating with Flowstone (which the original of course also doesn't provide). You can do pretty much every simple example code you find online. But, you can't work with code that's to be loaded from files and you can't use the sleep command (because Flowstone will ask Ruby 100 times per second, if everything's fine).
Whenever you see a "print" command in Ruby example code, use "watch" instead.

Also, read chapter 8 of the user guide. It is the source I used to get fit in Ruby.

The official Ruby API documentation is here (2.5 is the version embedded in Flowstone 4, if you only work in FS 3.x, you need to switch to the Core API of Ruby 1.9.3):
https://ruby-doc.org/core-2.5.0/
If you scroll down, you will see two columns, classes and methods. Every entry is clickable and leads to its documentation. And every entry you see there is usable in Flowstone as well.
"There lies the dog buried" (German saying translated literally)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Where's the best place I can go to learn Ruby?

Post by RJHollins »

tulamide wrote:The official Ruby API documentation is here (2.5 is the version embedded in Flowstone 4, if you only work in FS 3.x, you need to switch to the Core API of Ruby 1.9.3):
https://ruby-doc.org/core-2.5.0/


Hi tulamide,

What do you mean FS-4 or FS-3 ???

thanks
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Where's the best place I can go to learn Ruby?

Post by billv »

Sorry RJ...your question has no logic :shock: ....tulamide gave you the answer...and you even
quoted the answer in your thread.
FS4= Ruby 2.5
FS3= Ruby 1.9.3
Am I missing something?...please Expand RJ... have you been smoking that happy stuff :lol:
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Where's the best place I can go to learn Ruby?

Post by RJHollins »

billv wrote:Sorry RJ...your question has no logic :shock: ....tulamide gave you the answer...and you even
quoted the answer in your thread.
FS4= Ruby 2.5
FS3= Ruby 1.9.3
Am I missing something?...please Expand RJ... have you been smoking that happy stuff :lol:


sorry
yes ... is FS4 the one still in beta/development ?
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Where's the best place I can go to learn Ruby?

Post by billv »

RJHollins wrote: is FS4 the one still in beta/development ?

Well..I'm not involved in any way with FS4..someone else will hopefully answer your question.
I'm 3.06....probably till I die... 8-)
Note: have you noticed how slow this forum is moving...I think everyone has migrated to the
FS4 at Slack and Discord...so you might get a better answer there... ;)
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Where's the best place I can go to learn Ruby?

Post by tulamide »

It's not really news. Maik said a year or two ago, that the next version will be called FS4.
"There lies the dog buried" (German saying translated literally)
Post Reply