Page 1 of 1

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

Posted: Mon Jul 18, 2022 10:02 pm
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?

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

Posted: Wed Jul 20, 2022 11:24 pm
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... :)

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

Posted: Thu Jul 21, 2022 1:16 am
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.

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

Posted: Thu Jul 21, 2022 2:06 am
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

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

Posted: Thu Jul 21, 2022 12:45 pm
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:

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

Posted: Thu Jul 21, 2022 3:02 pm
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 ?

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

Posted: Thu Jul 21, 2022 10:50 pm
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... ;)

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

Posted: Fri Jul 22, 2022 5:06 am
by tulamide
It's not really news. Maik said a year or two ago, that the next version will be called FS4.