Re: Text filtering/replacement
Posted: Fri Mar 06, 2020 12:23 am
.
DSP Robotics and FlowStone Graphical Programming Software Support and Forums
https://dsprobotics.com/support/
Tricky question - I'd already learned Ruby beforehand, so I didn't do it that way, and just had to adapt to the specifics.MichaelBenjamin wrote:is FS a good way to learn ruby, trog?
it seems like it has some synthmaker specifics built in.
Not to mention that the "FS Ruby" is several versions (generations?) behind the current state of the art.trogluddite wrote:Learning the language itself within FS might be a bit awkward, as there aren't any native tutorials, and ones that you find on-line often won't drop in, because they assume that Ruby is running in a console - you won't see their outputs, because there isn't a console to send them to in FS.
About 2 years ago, and with a lot of help and encouragement from tulamide, I got into the basics of Ruby.MichaelBenjamin wrote:is FS a good way to learn ruby, trog?
it seems like it has some synthmaker specifics built in.
The problem with answering the question is that we both have a rather long history of programming. I started with BASIC on a Commodore PET 2001 in the 80s, and I guess you can also point to something similar. That makes it difficult to decide wether someone with no programming background can adapt to it just as quick.trogluddite wrote:My hunch is that learning Ruby the "traditional" way, as I did, and then adapt the learning to FS is probably the easier way really - you can get your head around the concepts of the language without having to keep modifying every example to fit the FS way of working. Once you know the language, doing that bit is quite easy - if you do it the other way around, you're trying to adapt code to FS using concepts that you haven't even learned yet.
Hmm. I'll sleep on that one a bit - and I'd be interested to hear what tulamide thinks; there aren't many other regulars here who do a lot of "big" Ruby code.
Hey,Spogg wrote:I guess that using Ruby for FS is like using Photoshop just to crop pictures. But it’s what I needed.
None taken!tektoog wrote:Hummm… Trog…… No offense there!
I agree with Trog. For me the main aspect is the graphical programming. Yes, I can save me some time or make modules that would be much more difficult to realize without Ruby, but then again, I have the opportunity to use modules and prims on the DSP/ASM side, which I would never be able to adapt to. It just never clicked in regards to how do I program for a single sample to achieve a certain dynamic over all samples? And so I benefit from the graphical programming base of FS.tektoog wrote:It's just that I came to SM because it was a graphical programming software… and with the years, I feel like I'm the ultimate one using the String array get at Prim….
Yes, it was one of the first thing that turned me off and made me feel it started to "get over my head"trogluddite wrote: For example, I never understood why all of the GUI controls were converted to Ruby ones for FS
Well, that's the way I feeltrogluddite wrote:It's maybe arguable that there should have been far more attention paid to adding new primitives to the toolbox over the years, to make these kinds of things possible without written coding
hehehe, I certainly hope so… I often start a project in VB and then say to myself… it would be much more easier and faster in FS… which I end up with…tulamide wrote:And there is nothing against using what FS provides!
Thanks to you all, who provide all these useful modules and examples which make every visit on this forum an exciting momenttulamide wrote:Just see the whole module it's placed in and accept it as a user made prim for your toolbox